mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 16:40:30 +08:00
Compare commits
39 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e79a58361 | ||
|
|
4665f812c6 | ||
|
|
eabc578ca1 | ||
|
|
c59f2a3233 | ||
|
|
55e52ee39c | ||
|
|
e87ad5e42e | ||
|
|
394a2e80f2 | ||
|
|
3c08a7fbe4 | ||
|
|
f8a8f37aa5 | ||
|
|
255b48f233 | ||
|
|
7e826a7508 | ||
|
|
1ff983170c | ||
|
|
18d30b363c | ||
|
|
36fa64da0a | ||
|
|
c5a51f6ecd | ||
|
|
76a92fe25c | ||
|
|
aebb5de8e9 | ||
|
|
21dbbb93f3 | ||
|
|
1f35ec1248 | ||
|
|
8cfe4eb1aa | ||
|
|
d33a56133a | ||
|
|
f96a309329 | ||
|
|
13817ab8f2 | ||
|
|
e8775547eb | ||
|
|
113d6b1128 | ||
|
|
90d8dbec76 | ||
|
|
66d587dc54 | ||
|
|
00d745bd6c | ||
|
|
1479547c67 | ||
|
|
b14f7d9da6 | ||
|
|
b73ebd60aa | ||
|
|
12716419e8 | ||
|
|
c189be913f | ||
|
|
4ecad3404b | ||
|
|
ccd23121ef | ||
|
|
10aa3a4921 | ||
|
|
1b4000eb73 | ||
|
|
318b9ecc73 | ||
|
|
43362bb5d2 |
@@ -6,15 +6,14 @@ firewall --enabled --service=mdns,ssh
|
||||
|
||||
bootloader --location=mbr
|
||||
|
||||
part /boot/fw --size=30 --fstype vfat --asprimary
|
||||
part /boot/efi --size=80 --fstype vfat --asprimary
|
||||
part /boot --size=512 --fstype ext4 --asprimary
|
||||
part swap --size=512 --fstype swap --asprimary
|
||||
part / --size=2800 --fstype ext4 --asprimary
|
||||
|
||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||
firstboot --reconfig
|
||||
|
||||
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
|
||||
services --enabled=sshd,NetworkManager,avahi-daemon,chronyd,initial-setup,zram-swap
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
@@ -22,6 +21,7 @@ services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setu
|
||||
@core
|
||||
@standard
|
||||
@hardware-support
|
||||
zram
|
||||
|
||||
kernel
|
||||
# remove this in %post
|
||||
@@ -51,10 +51,8 @@ glibc-all-langpacks
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/fw/
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
|
||||
sed -i '/vfat/ d' /etc/fstab
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
%include fedora-minimal-common.ks
|
||||
|
||||
part /boot --size=512 --fstype ext4
|
||||
part swap --size=256 --fstype swap
|
||||
part / --size=1256 --fstype ext4
|
||||
|
||||
%packages
|
||||
|
||||
@@ -68,7 +68,7 @@ reboot
|
||||
# This location is where the compose gets synced to after the compose
|
||||
# is done.
|
||||
ostree remote delete fedora-atomic
|
||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/repo/'
|
||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/repo/'
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
|
||||
@@ -11,8 +11,9 @@
|
||||
@networkmanager-submodules
|
||||
@cinnamon-desktop
|
||||
@libreoffice
|
||||
parole
|
||||
|
||||
# extra backgrounds
|
||||
f28-backgrounds-extras-gnome
|
||||
f29-backgrounds-extras-gnome
|
||||
|
||||
%end
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
# For a TDL file, I store one here:
|
||||
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
||||
# (Koji generates one internally...what we really want is Koji to publish it statically)
|
||||
#
|
||||
#
|
||||
# Once you have imagefactory and imagefactory-plugins installed, run:
|
||||
#
|
||||
#
|
||||
# curl -O https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
||||
# tempfile=$(mktemp --suffix=.ks)
|
||||
# ksflatten -v F22 -c fedora-cloud-base.ks > ${tempfile}
|
||||
@@ -75,7 +75,6 @@ which
|
||||
# Need to also add back plymouth in order to mask failure of
|
||||
# systemd-vconsole-setup.service. BZ#1272684. Comment out for now
|
||||
#-plymouth
|
||||
-NetworkManager
|
||||
-iprutils
|
||||
# Now that BZ#1199868 is fixed kbd really gets removed but it breaks
|
||||
# systemd-vconsole-setup.service on boot. Comment out for now
|
||||
@@ -241,10 +240,10 @@ dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||
rm -f /var/tmp/zeros
|
||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
|
||||
# When we build the image with oz, dracut is used
|
||||
# and sets up a ifcfg-en<whatever> for the device. We don't
|
||||
# want to use this, we use eth0 so it is always the same.
|
||||
# So we remove all these ifcfg-en<whatever> devices so
|
||||
# When we build the image with oz, dracut is used
|
||||
# and sets up a ifcfg-en<whatever> for the device. We don't
|
||||
# want to use this, we use eth0 so it is always the same.
|
||||
# So we remove all these ifcfg-en<whatever> devices so
|
||||
# The 'network' service can come up cleanly.
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-en*
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ timezone US/Eastern
|
||||
auth --useshadow --passalgo=sha512
|
||||
selinux --enforcing
|
||||
firewall --enabled --service=mdns
|
||||
services --enabled=sshd,NetworkManager,chronyd
|
||||
services --enabled=sshd,NetworkManager,chronyd,zram-swap
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
rootpw --lock --iscrypted locked
|
||||
shutdown
|
||||
@@ -33,6 +33,7 @@ firstboot --reconfig
|
||||
@core
|
||||
@standard
|
||||
@hardware-support
|
||||
zram
|
||||
|
||||
kernel
|
||||
# remove this in %post
|
||||
@@ -45,11 +46,10 @@ rng-tools
|
||||
chrony
|
||||
bcm283x-firmware
|
||||
initial-setup
|
||||
# Intel wireless firmware assumed never of use for disk images
|
||||
-iwl*
|
||||
-ipw*
|
||||
-trousers-lib
|
||||
-usb_modeswitch
|
||||
-iproute-tc
|
||||
-generic-release*
|
||||
|
||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||
@@ -60,8 +60,6 @@ glibc-all-langpacks
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
||||
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%include fedora-disk-base.ks
|
||||
%include fedora-minimal-common.ks
|
||||
|
||||
services --enabled=sshd,NetworkManager,chronyd,initial-setup
|
||||
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
|
||||
|
||||
autopart --type=plain
|
||||
autopart --type=plain --noswap
|
||||
|
||||
%packages
|
||||
-xkeyboard-config
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
%include fedora-disk-base.ks
|
||||
|
||||
services --enabled=sshd,NetworkManager,chronyd,initial-setup
|
||||
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
|
||||
|
||||
autopart
|
||||
autopart --noswap
|
||||
|
||||
%packages
|
||||
# install the default groups for the server evironment since installing the environment is not working
|
||||
# install the default groups for the server environment since installing the environment is not working
|
||||
@server-product
|
||||
@standard
|
||||
@headless-management
|
||||
@hardware-support
|
||||
@networkmanager-submodules
|
||||
|
||||
@container-management
|
||||
@domain-client
|
||||
-initial-setup-gui
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
bootloader --append="cma=256MB"
|
||||
|
||||
services --enabled=sshd,NetworkManager,chronyd
|
||||
services --enabled=sshd,NetworkManager,chronyd,zram-swap
|
||||
|
||||
autopart --type=plain
|
||||
autopart --type=plain --noswap
|
||||
|
||||
%packages
|
||||
-initial-setup
|
||||
|
||||
@@ -23,6 +23,9 @@ rm -rf /tmp/*
|
||||
# https://pagure.io/atomic-wg/issue/308
|
||||
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1576993
|
||||
systemctl disable dnf-makecache.timer
|
||||
|
||||
#Mask mount units and getty service so that we don't get login prompt
|
||||
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
||||
|
||||
|
||||
118
fedora-iot.ks
Normal file
118
fedora-iot.ks
Normal file
@@ -0,0 +1,118 @@
|
||||
# This is the kickstart for Fedora IoT disk images.
|
||||
|
||||
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone --utc Etc/UTC
|
||||
|
||||
auth --useshadow --passalgo=sha512
|
||||
selinux --enforcing
|
||||
rootpw --lock --iscrypted locked
|
||||
|
||||
# Add most common consoles console=ttyAMA0 console=ttyS0 console=ttyS1 as kernel boot parameter
|
||||
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8 console=ttyS1,115200n8 console=ttyAMA0,115200n8 net.ifnames=0 modprobe.blacklist=vc4"
|
||||
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
|
||||
|
||||
# tell Initial Setup to run in the reconfig mode
|
||||
firstboot --reconfig --enable
|
||||
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=msdos
|
||||
autopart --nohome --noswap --type=plain
|
||||
|
||||
# Equivalent of %include fedora-repo.ks
|
||||
# Pull from the ostree repo that was created during the compose
|
||||
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/29/${basearch}/iot
|
||||
|
||||
reboot
|
||||
|
||||
%post --erroronfail
|
||||
# Find the architecture we are on
|
||||
arch=$(uname -m)
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
||||
if [[ $arch == "aarch64" ]]; then
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
else
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
|
||||
fi
|
||||
fi
|
||||
|
||||
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
|
||||
# We want consumers of this image to track the two week releases.
|
||||
ostree admin set-origin --index 0 fedora-iot https://kojipkgs.fedoraproject.org/iot/29/ "fedora/29/${arch}/iot"
|
||||
|
||||
# Make sure the ref we're supposedly sitting on (according
|
||||
# to the updated origin) exists.
|
||||
ostree refs "fedora-iot:fedora/29/${arch}/iot" --create "fedora-iot:fedora/29/${arch}/iot"
|
||||
|
||||
# Remove the old ref so that the commit eventually gets cleaned up.
|
||||
ostree refs "fedora-iot:fedora/29/${arch}/iot" --delete
|
||||
|
||||
# delete/add the remote with new options to enable gpg verification
|
||||
# and to point them at the cdn url
|
||||
ostree remote delete fedora-iot
|
||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-iot 'https://dl.fedoraproject.org/iot/repo/'
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
passwd -l root
|
||||
|
||||
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1193590
|
||||
cp /etc/skel/.bash* /var/roothome
|
||||
|
||||
echo -n "Network fixes"
|
||||
# initscripts don't like this file to be missing.
|
||||
cat > /etc/sysconfig/network << EOF
|
||||
NETWORKING=yes
|
||||
NOZEROCONF=yes
|
||||
EOF
|
||||
|
||||
# Remove any persistent NIC rules generated by udev
|
||||
rm -vf /etc/udev/rules.d/*persistent-net*.rules
|
||||
# And ensure that we will do DHCP on eth0 on startup
|
||||
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||
DEVICE="eth0"
|
||||
BOOTPROTO="dhcp"
|
||||
ONBOOT="yes"
|
||||
TYPE="Ethernet"
|
||||
PERSISTENT_DHCLIENT="yes"
|
||||
EOF
|
||||
|
||||
echo "Removing random-seed so it's not the same in every image."
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
|
||||
echo "Packages within this iot image:"
|
||||
echo "-----------------------------------------------------------------------"
|
||||
rpm -qa
|
||||
echo "-----------------------------------------------------------------------"
|
||||
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
echo "Zeroing out empty space."
|
||||
# This forces the filesystem to reclaim space from deleted files
|
||||
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||
rm -f /var/tmp/zeros
|
||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
|
||||
# For trac ticket https://pagure.io/atomic-wg/issue/128
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
||||
|
||||
echo "Adding Developer Mode GRUB2 menu item."
|
||||
/usr/libexec/atomic-devmode/bootentry add
|
||||
|
||||
# Disable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
# Anaconda is writing an /etc/resolv.conf from the install environment.
|
||||
# The system should start out with an empty file, otherwise cloud-init
|
||||
# will try to use this information and may error:
|
||||
# https://bugs.launchpad.net/cloud-init/+bug/1670052
|
||||
truncate -s 0 /etc/resolv.conf
|
||||
|
||||
%end
|
||||
@@ -5,7 +5,6 @@
|
||||
@kde-desktop
|
||||
@kde-media
|
||||
@kde-office
|
||||
@kde-telepathy
|
||||
@networkmanager-submodules
|
||||
|
||||
### The KDE-Desktop
|
||||
|
||||
@@ -95,11 +95,10 @@ livedir="LiveOS"
|
||||
for arg in \`cat /proc/cmdline\` ; do
|
||||
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
|
||||
livedir=\${arg##rd.live.dir=}
|
||||
return
|
||||
continue
|
||||
fi
|
||||
if [ "\${arg##live_dir=}" != "\${arg}" ]; then
|
||||
livedir=\${arg##live_dir=}
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -154,7 +153,6 @@ findPersistentHome() {
|
||||
for arg in \`cat /proc/cmdline\` ; do
|
||||
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
|
||||
homedev=\${arg##persistenthome=}
|
||||
return
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
# - Dan Book <grinnz@grinnz.com>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
%include fedora-cinnamon-common.ks
|
||||
|
||||
part / --size=6144
|
||||
|
||||
@@ -32,8 +32,8 @@ powerline
|
||||
powerline-fonts
|
||||
|
||||
# Extra wallpapers
|
||||
# f26-backgrounds-extras-base
|
||||
# f26-backgrounds-extras-gnome
|
||||
f28-backgrounds-extras-base
|
||||
f28-backgrounds-extras-gnome
|
||||
|
||||
# removal of unneeded applications
|
||||
-gnome-boxes
|
||||
|
||||
@@ -5,11 +5,8 @@
|
||||
|
||||
# save some space
|
||||
-mpage
|
||||
-sox
|
||||
-hplip
|
||||
-numactl
|
||||
-isdn4k-utils
|
||||
-autofs
|
||||
|
||||
# scanning takes quite a bit of space :/
|
||||
-xsane
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
#
|
||||
# Maintainers:
|
||||
# - Peter Robinson <pbrobinson AT gmail DOT com>
|
||||
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
|
||||
# - Mel Chua <mchua AT fedoraproject DOT org>
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-live-minimization.ks
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#
|
||||
# Maintainer(s):
|
||||
# – Christian Dersch <lupinix@fedoraproject.org>
|
||||
# – Zamir SUN <zsun@fedoraproject.org>
|
||||
#
|
||||
|
||||
%packages
|
||||
@@ -26,6 +27,9 @@ pavucontrol-qt-l10n
|
||||
# MP3
|
||||
gstreamer1-plugin-mpg123
|
||||
|
||||
# Text Editor
|
||||
enki
|
||||
|
||||
# remove unneeded stuff to get a lightweight system
|
||||
# fonts (we make no bones about admitting we're english-only)
|
||||
wqy-microhei-fonts # a compact CJK font, to replace:
|
||||
@@ -41,7 +45,8 @@ wqy-microhei-fonts # a compact CJK font, to replace:
|
||||
-@input-methods
|
||||
-scim*
|
||||
-m17n*
|
||||
-ibus*
|
||||
# Temporary include ibus to workaround RHBZ 1633225
|
||||
# -ibus*
|
||||
-iok
|
||||
|
||||
# Fix https://bugzilla.redhat.com/show_bug.cgi?id=1429132
|
||||
|
||||
@@ -35,7 +35,6 @@ nss-mdns
|
||||
# Drop things for size
|
||||
-@3d-printing
|
||||
-brasero
|
||||
-colord
|
||||
-fedora-icon-theme
|
||||
-gnome-icon-theme
|
||||
-gnome-icon-theme-symbolic
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
-initial-setup-gui
|
||||
-generic-release*
|
||||
-glibc-all-langpacks
|
||||
# recommended by iproute, we don't want it in minimal
|
||||
-iproute-tc
|
||||
# recommended by gnutls, we don't want it in minimal
|
||||
-trousers
|
||||
glibc-langpack-en
|
||||
iw
|
||||
NetworkManager-wifi
|
||||
|
||||
@@ -56,8 +56,6 @@ dhcp-client
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
#cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
||||
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
|
||||
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
|
||||
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
|
||||
|
||||
@@ -70,11 +70,16 @@ rkward
|
||||
qtoctave
|
||||
|
||||
# julia
|
||||
julia
|
||||
julia-doc
|
||||
# Comment out till build failure is sorted
|
||||
# julia
|
||||
# julia-doc
|
||||
|
||||
# IDEs for the IDE folks
|
||||
@eclipse
|
||||
|
||||
# Workaround for https://pagure.io/releng/issue/7814
|
||||
-eclipse-linuxtools-vagrant
|
||||
|
||||
spyder
|
||||
|
||||
#writing & publishing
|
||||
|
||||
@@ -92,7 +92,7 @@ sugar-logos
|
||||
# Rebuild initrd for Sugar boot screen
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||
/usr/sbin/plymouth-set-default-theme sugar
|
||||
/sbin/dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
@@ -163,6 +163,16 @@ show-logout=false
|
||||
[org.sugarlabs.power]
|
||||
automatic=true
|
||||
EOF
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
# For lorax/livemedia-creator builds.
|
||||
sed -i '
|
||||
/## make boot.iso/ i\
|
||||
# Add livecd-iso-to-disk script to .iso filesystem at /LiveOS/\
|
||||
<% f = "usr/bin/livecd-iso-to-disk" %>\
|
||||
%if exists(f):\
|
||||
install ${f} ${LIVEDIR}/${f|basename}\
|
||||
%endif\
|
||||
' /usr/share/lorax/templates.d/99-generic/live/x86.tmpl
|
||||
|
||||
%end
|
||||
|
||||
@@ -38,6 +38,5 @@ system-config-printer
|
||||
-desktop-backgrounds-basic
|
||||
-aspell-* # dictionaries are big
|
||||
-xfce4-sensors-plugin
|
||||
-foomatic-db-ppds
|
||||
|
||||
%end
|
||||
|
||||
40
l10n/fedora-live-workstation-ja_JP.ks
Normal file
40
l10n/fedora-live-workstation-ja_JP.ks
Normal file
@@ -0,0 +1,40 @@
|
||||
# fedora-live-workstation-ja_JP.ks
|
||||
#
|
||||
# Description:
|
||||
# - Japanese Fedora Live Spin with the Gnome Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
|
||||
|
||||
%include ../fedora-live-workstation.ks
|
||||
|
||||
lang ja_JP.UTF-8
|
||||
keyboard jp
|
||||
timezone Asia/Tokyo
|
||||
|
||||
%packages
|
||||
@japanese-support
|
||||
# exclude input methods except ibus:
|
||||
-m17n*
|
||||
-scim*
|
||||
-iok
|
||||
# ibus stuff
|
||||
ibus-kkc
|
||||
imsettings
|
||||
%end
|
||||
|
||||
%post
|
||||
cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF"
|
||||
# Read and parsed by systemd-localed. It's probably wise not to edit this file
|
||||
# manually too freely.
|
||||
Section "InputClass"
|
||||
Identifier "system-keyboard"
|
||||
MatchIsKeyboard "on"
|
||||
Option "XkbLayout" "jp"
|
||||
Option "XkbModel" "jp106"
|
||||
EndSection
|
||||
EOF
|
||||
|
||||
gsettings set org.gnome.desktop.input-sources sources "[('ibus', 'kkc'), ('xkb', 'jp')]"
|
||||
|
||||
%end
|
||||
40
l10n/fedora-livecd-kde-ja_JP.ks
Normal file
40
l10n/fedora-livecd-kde-ja_JP.ks
Normal file
@@ -0,0 +1,40 @@
|
||||
# fedora-livecd-kde-ja_JP.ks
|
||||
#
|
||||
# Description:
|
||||
# - Japanese Fedora Live Spin with the KDE Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
|
||||
|
||||
%include ../fedora-live-kde.ks
|
||||
|
||||
lang ja_JP.UTF-8
|
||||
keyboard jp
|
||||
timezone Asia/Tokyo
|
||||
|
||||
%packages
|
||||
@japanese-support
|
||||
# exclude input methods except ibus:
|
||||
-m17n*
|
||||
-scim*
|
||||
-iok
|
||||
# ibus-stuff
|
||||
fcitx-qt5
|
||||
ibus-kkc
|
||||
ibus-mozc
|
||||
ibus-qt
|
||||
kcm-fcitx
|
||||
%end
|
||||
|
||||
%post
|
||||
cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF"
|
||||
# Read and parsed by systemd-localed. It's probably wise not to edit this file
|
||||
# manually too freely.
|
||||
Section "InputClass"
|
||||
Identifier "system-keyboard"
|
||||
MatchIsKeyboard "on"
|
||||
Option "XkbLayout" "jp"
|
||||
Option "XkbModel" "jp106"
|
||||
EndSection
|
||||
EOF
|
||||
%end
|
||||
@@ -14,10 +14,9 @@ timezone Asia/Tokyo
|
||||
|
||||
%packages
|
||||
@japanese-support
|
||||
# exclude input methods:
|
||||
# exclude input methods except ibus:
|
||||
-m17n*
|
||||
-scim*
|
||||
-ibus*
|
||||
-iok
|
||||
# Better more popular browser
|
||||
firefox
|
||||
|
||||
40
l10n/fedora-livedvd-games-ja_JP.ks
Normal file
40
l10n/fedora-livedvd-games-ja_JP.ks
Normal file
@@ -0,0 +1,40 @@
|
||||
# fedora-livedvd-games-ja_JP.ks
|
||||
#
|
||||
# Description:
|
||||
# - Japanese Fedora Live Spin with the game Desktop Environment
|
||||
#
|
||||
# Maintainer(s):
|
||||
# - Mika Tsukada <mika.tsukada@miraclelinux.com>
|
||||
|
||||
%include ../fedora-live-games.ks
|
||||
|
||||
lang ja_JP.UTF-8
|
||||
keyboard ja
|
||||
timezone Asia/Tokyo
|
||||
|
||||
%packages
|
||||
@japanese-support
|
||||
# exclude input methods except ibus:
|
||||
-m17n*
|
||||
-scim*
|
||||
-iok
|
||||
glibc-langpack-ja
|
||||
# ibus-stuff
|
||||
ibus-kkc
|
||||
ibus-mozc
|
||||
%end
|
||||
|
||||
%post
|
||||
cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF"
|
||||
# Read and parsed by systemd-localed. It's probably wise not to edit this file
|
||||
# manually too freely.
|
||||
Section "InputClass"
|
||||
Identifier "system-keyboard"
|
||||
MatchIsKeyboard "on"
|
||||
Option "XkbLayout" "jp"
|
||||
Option "XkbModel" "jp106"
|
||||
EndSection
|
||||
EOF
|
||||
%end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user