mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-10 00:50:32 +08:00
Compare commits
55 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ee03735d6 | ||
|
|
4f004227f3 | ||
|
|
d1d9de9a97 | ||
|
|
fa5c8ccf35 | ||
|
|
06ce4be308 | ||
|
|
9b0b39f7d6 | ||
|
|
24b73a6270 | ||
|
|
174b5721ec | ||
|
|
ab1363a4bc | ||
|
|
f84b197d1e | ||
|
|
2611d60fd0 | ||
|
|
200f6930a6 | ||
|
|
ab7ee6e6db | ||
|
|
6527f89bde | ||
|
|
86e0dc18cf | ||
|
|
d64a181fa3 | ||
|
|
e4a7785b92 | ||
|
|
de5bf88e41 | ||
|
|
9ece69fc88 | ||
|
|
583a071ab4 | ||
|
|
e1a3a12979 | ||
|
|
2b10501ec7 | ||
|
|
4bddf5d41f | ||
|
|
5ffd286f8f | ||
|
|
712cfa9bc3 | ||
|
|
d20393c1fa | ||
|
|
2446044d2a | ||
|
|
eae92c2d7b | ||
|
|
363a8c6845 | ||
|
|
e168b190c6 | ||
|
|
ffd90dbee1 | ||
|
|
8e10ac1ee6 | ||
|
|
7e83e43671 | ||
|
|
7deaaf0862 | ||
|
|
d43129d5e8 | ||
|
|
702db8a89e | ||
|
|
c28b7e2777 | ||
|
|
413af72641 | ||
|
|
207d900831 | ||
|
|
1ed58c1a92 | ||
|
|
93db50a9c0 | ||
|
|
01216600d9 | ||
|
|
b7cd1e7927 | ||
|
|
bc4dc356c2 | ||
|
|
6daf57bc58 | ||
|
|
568e73aa6e | ||
|
|
8a76491f3f | ||
|
|
a3ca173ddd | ||
|
|
ee84a1650b | ||
|
|
0ed1396cb9 | ||
|
|
70c3d795e8 | ||
|
|
7045d91878 | ||
|
|
164e3adb21 | ||
|
|
a18bfda6ea | ||
|
|
b59f41dc4c |
@@ -8,7 +8,6 @@ bootloader --location=mbr
|
|||||||
|
|
||||||
part /boot/efi --size=80 --fstype vfat --asprimary
|
part /boot/efi --size=80 --fstype vfat --asprimary
|
||||||
part /boot --size=512 --fstype ext4 --asprimary
|
part /boot --size=512 --fstype ext4 --asprimary
|
||||||
part / --size=2800 --fstype ext4 --asprimary
|
|
||||||
|
|
||||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||||
firstboot --reconfig
|
firstboot --reconfig
|
||||||
@@ -39,13 +38,11 @@ initial-setup-gui
|
|||||||
-iwl*
|
-iwl*
|
||||||
-ipw*
|
-ipw*
|
||||||
-usb_modeswitch
|
-usb_modeswitch
|
||||||
-iproute-tc
|
|
||||||
#lets resize / on first boot
|
#lets resize / on first boot
|
||||||
# dracut-modules-growroot
|
# dracut-modules-growroot
|
||||||
|
|
||||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||||
glibc-all-langpacks
|
glibc-all-langpacks
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@@ -74,13 +71,8 @@ systemctl mask tmp.mount
|
|||||||
|
|
||||||
dnf -y remove dracut-config-generic
|
dnf -y remove dracut-config-generic
|
||||||
|
|
||||||
# Disable network service here, as doing it in the services line
|
|
||||||
# fails due to RHBZ #1369794
|
|
||||||
/sbin/chkconfig network off
|
|
||||||
|
|
||||||
# Remove machine-id on pre generated images
|
# Remove machine-id on pre generated images
|
||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
touch /etc/machine-id
|
touch /etc/machine-id
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-lxqt-common.ks
|
%include fedora-lxqt-common.ks
|
||||||
|
|
||||||
part / --size=4200 --fstype ext4 --asprimary
|
part / --size=4400 --fstype ext4 --asprimary
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
# trojita not available on non-x86 platforms
|
# trojita not available on non-x86 platforms
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-mate-common.ks
|
%include fedora-mate-common.ks
|
||||||
|
|
||||||
part / --size=6000 --fstype ext4
|
part / --size=7168 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-minimal-common.ks
|
%include fedora-minimal-common.ks
|
||||||
|
|
||||||
part /boot --size=512 --fstype ext4
|
part / --size=1400 --fstype ext4
|
||||||
part / --size=1256 --fstype ext4
|
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-xkeyboard-config
|
-xkeyboard-config
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
@input-methods
|
@input-methods
|
||||||
@multimedia
|
@multimedia
|
||||||
@printing
|
@printing
|
||||||
|
epiphany
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|||||||
@@ -1,37 +0,0 @@
|
|||||||
# Like the Atomic Host cloud image, but tuned for vagrant: enable the
|
|
||||||
# vagrant user, disable cloud-init.
|
|
||||||
|
|
||||||
%include fedora-atomic.ks
|
|
||||||
|
|
||||||
user --name=vagrant --password=vagrant
|
|
||||||
rootpw vagrant
|
|
||||||
|
|
||||||
# The addition of the net.ifnames=0 and biosdevnames=0 option ensures that
|
|
||||||
# even on VirtualBox virt, we get a primary network device with "eth0" as the name
|
|
||||||
# This simplifies things and allows a single disk image for both supported Vagrant
|
|
||||||
# platforms (virtualbox and kvm)
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
|
|
||||||
|
|
||||||
%post --erroronfail
|
|
||||||
|
|
||||||
# Work around cloud-init being both disabled and enabled; need
|
|
||||||
# to refactor to a common base.
|
|
||||||
systemctl mask cloud-init cloud-init-local cloud-config cloud-final
|
|
||||||
|
|
||||||
# The inherited cloud %post locks the passwd, but we want it
|
|
||||||
# unlocked for vagrant, just like downstream.
|
|
||||||
passwd -u root
|
|
||||||
|
|
||||||
# Vagrant setup
|
|
||||||
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
|
|
||||||
echo 'vagrant ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
|
|
||||||
sed -i 's/.*UseDNS.*/UseDNS no/' /etc/ssh/sshd_config
|
|
||||||
mkdir -m 0700 -p ~vagrant/.ssh
|
|
||||||
cat > ~vagrant/.ssh/authorized_keys << EOKEYS
|
|
||||||
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key
|
|
||||||
EOKEYS
|
|
||||||
chmod 600 ~vagrant/.ssh/authorized_keys
|
|
||||||
chown -R vagrant:vagrant ~vagrant/.ssh/
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
157
fedora-atomic.ks
157
fedora-atomic.ks
@@ -1,157 +0,0 @@
|
|||||||
# Fedora Atomic Host is the Fedora version of the "Atomic Host" pattern
|
|
||||||
# from [Project Atomic](http://www.projectatomic.io/).
|
|
||||||
|
|
||||||
# This kickstart is used for cloud/virt images, and uses cloud-init
|
|
||||||
# to bootstrap authentication, just like Fedora Cloud Base. (Also note the
|
|
||||||
# fedora-atomic-vagrant.ks kickstart inherits from this).
|
|
||||||
|
|
||||||
# One very important thing to understand is that this image contains the same
|
|
||||||
# OSTree commit as will be used on bare metal installations - Fedora Atomic Host
|
|
||||||
# also has an ISO. One difference though is that cloud-init isn't enabled for
|
|
||||||
# bare metal. When processing this kickstart then, Anaconda isn't actually
|
|
||||||
# installing packages - it's just replicating a "pre-assembled" tree from
|
|
||||||
# rpm-ostree.
|
|
||||||
|
|
||||||
# Basically, the `ostreesetup` verb replaces the traditional `%packages`
|
|
||||||
# section. For example, `rpm-ostree status` can show you the same checksum and
|
|
||||||
# version from an ISO install and this cloud image - it's the same bits.
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
# Explicitly disable firewall since cloud providers generally provide
|
|
||||||
# higher level firewall constructs (i.e. security groups).
|
|
||||||
firewall --disabled
|
|
||||||
|
|
||||||
# console=ttyAMA0 and console=hvc0 as kernel boot parameter to see
|
|
||||||
# kernel boot messages on serial console as well on aarch64 and
|
|
||||||
# ppc64le respectively.
|
|
||||||
# https://pagure.io/atomic-wg/issue/347
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 console=ttyAMA0 console=hvc0 net.ifnames=0"
|
|
||||||
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
|
||||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
|
||||||
|
|
||||||
zerombr
|
|
||||||
clearpart --all
|
|
||||||
# Implement: https://pagure.io/atomic-wg/issue/281
|
|
||||||
# The bare metal layout currently inherits from fedora server and is in
|
|
||||||
# https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/installclasses/fedora_atomic_host.py
|
|
||||||
# However, the disk size is currently just 6GB for the cloud image (defined in pungi-fedora). So the
|
|
||||||
# "15GB, rest unallocated" model doesn't make sense. The Vagrant box is 40GB (apparently a number of
|
|
||||||
# Vagrant boxes come big and rely on thin provisioning).
|
|
||||||
# In both cases, it's simplest to just fill all the disk space.
|
|
||||||
#
|
|
||||||
# Use reqpart to create hardware platform specific partitions
|
|
||||||
# https://pagure.io/atomic-wg/issue/299
|
|
||||||
reqpart --add-boot
|
|
||||||
part pv.01 --grow
|
|
||||||
volgroup atomicos pv.01
|
|
||||||
# Start from 3GB as we did before, since we just need a size. But we do --grow to fill all space.
|
|
||||||
logvol / --size=3000 --grow --fstype="xfs" --name=root --vgname=atomicos
|
|
||||||
|
|
||||||
# Equivalent of %include fedora-repo.ks
|
|
||||||
# Pull from the ostree repo that was created during the compose
|
|
||||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/rawhide/${basearch}/atomic-host
|
|
||||||
|
|
||||||
reboot
|
|
||||||
|
|
||||||
%post --erroronfail
|
|
||||||
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
|
||||||
# Set the ostree repo to the location we want users to upgrade from
|
|
||||||
# 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-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
|
|
||||||
passwd -l root
|
|
||||||
|
|
||||||
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1193590
|
|
||||||
cp /etc/skel/.bash* /var/roothome
|
|
||||||
|
|
||||||
# Configure docker-storage-setup to resize the partition table on boot
|
|
||||||
# and extend the root filesystem to fill it.
|
|
||||||
# https://pagure.io/atomic-wg/issue/343
|
|
||||||
echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup
|
|
||||||
echo 'ROOT_SIZE=+100%FREE' >> /etc/sysconfig/docker-storage-setup
|
|
||||||
|
|
||||||
echo -n "Getty fixes"
|
|
||||||
# although we want console output going to the serial console, we don't
|
|
||||||
# actually have the opportunity to login there. FIX.
|
|
||||||
# we don't really need to auto-spawn _any_ gettys.
|
|
||||||
sed -i '/^#NAutoVTs=.*/ a\
|
|
||||||
NAutoVTs=0' /etc/systemd/logind.conf
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
# Because memory is scarce resource in most cloud/virt environments,
|
|
||||||
# and because this impedes forensics, we are differing from the Fedora
|
|
||||||
# default of having /tmp on tmpfs.
|
|
||||||
echo "Disabling tmpfs for /tmp."
|
|
||||||
systemctl mask tmp.mount
|
|
||||||
|
|
||||||
# Uncomment this if you want to use cloud init but suppress the creation
|
|
||||||
# of an "ec2-user" account. This will, in the absence of further config,
|
|
||||||
# cause the ssh key from a metadata source to be put in the root account.
|
|
||||||
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
|
|
||||||
#users: []
|
|
||||||
#disable_root: 0
|
|
||||||
#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 cloud 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
|
|
||||||
@@ -14,6 +14,6 @@
|
|||||||
parole
|
parole
|
||||||
|
|
||||||
# extra backgrounds
|
# extra backgrounds
|
||||||
f29-backgrounds-extras-gnome
|
f30-backgrounds-extras-gnome
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ echo "Removing firewalld."
|
|||||||
# not work when package was installed by Anaconda instead of command line.
|
# not work when package was installed by Anaconda instead of command line.
|
||||||
# Also -- check if this is still even needed with new anaconda -- disabled
|
# Also -- check if this is still even needed with new anaconda -- disabled
|
||||||
# firewall should _not_ pull in this package.
|
# firewall should _not_ pull in this package.
|
||||||
# yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
# dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||||
dnf -C -y erase "firewalld*"
|
dnf -C -y erase "firewalld*"
|
||||||
|
|
||||||
# Another one needed at install time but not after that, and it pulls
|
# Another one needed at install time but not after that, and it pulls
|
||||||
|
|||||||
@@ -112,12 +112,12 @@ rpm -e linux-firmware
|
|||||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||||
# be present for install/image building.
|
# be present for install/image building.
|
||||||
echo "Removing firewalld."
|
echo "Removing firewalld."
|
||||||
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
dnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
# Another one needed at install time but not after that, and it pulls
|
# Another one needed at install time but not after that, and it pulls
|
||||||
# in some unneeded deps (like, newt and slang)
|
# in some unneeded deps (like, newt and slang)
|
||||||
echo "Removing authconfig."
|
echo "Removing authconfig."
|
||||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
dnf -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
echo -n "Getty fixes"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
@@ -176,10 +176,10 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
|||||||
echo "Removing random-seed so it's not the same in every image."
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
rm -f /var/lib/systemd/random-seed
|
rm -f /var/lib/systemd/random-seed
|
||||||
|
|
||||||
echo "Cleaning old yum repodata."
|
echo "Cleaning old dnf repodata."
|
||||||
yum history new
|
dnf history new
|
||||||
yum clean all
|
dnf clean all
|
||||||
truncate -c -s 0 /var/log/yum.log
|
truncate -c -s 0 /var/log/dnf.log
|
||||||
|
|
||||||
echo "Import RPM GPG key"
|
echo "Import RPM GPG key"
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
@@ -204,7 +204,7 @@ dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
|||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
touch /var/log/boot.log
|
touch /var/log/boot.log
|
||||||
mkdir -p /var/cache/yum
|
mkdir -p /var/cache/dnf
|
||||||
/usr/sbin/fixfiles -R -a restore
|
/usr/sbin/fixfiles -R -a restore
|
||||||
|
|
||||||
echo "Zeroing out empty space."
|
echo "Zeroing out empty space."
|
||||||
|
|||||||
@@ -103,12 +103,12 @@ rpm -e linux-firmware
|
|||||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||||
# be present for install/image building.
|
# be present for install/image building.
|
||||||
echo "Removing firewalld."
|
echo "Removing firewalld."
|
||||||
yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
# Another one needed at install time but not after that, and it pulls
|
# Another one needed at install time but not after that, and it pulls
|
||||||
# in some unneeded deps (like, newt and slang)
|
# in some unneeded deps (like, newt and slang)
|
||||||
echo "Removing authconfig."
|
echo "Removing authconfig."
|
||||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
dnf -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
echo -n "Getty fixes"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
@@ -167,10 +167,10 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
|||||||
echo "Removing random-seed so it's not the same in every image."
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
rm -f /var/lib/systemd/random-seed
|
rm -f /var/lib/systemd/random-seed
|
||||||
|
|
||||||
echo "Cleaning old yum repodata."
|
echo "Cleaning old dnf repodata."
|
||||||
yum history new
|
dnf history new
|
||||||
yum clean all
|
dnf clean all
|
||||||
truncate -c -s 0 /var/log/yum.log
|
truncate -c -s 0 /var/log/dnf.log
|
||||||
|
|
||||||
echo "Import RPM GPG key"
|
echo "Import RPM GPG key"
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
@@ -196,7 +196,7 @@ dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
|||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
touch /var/log/boot.log
|
touch /var/log/boot.log
|
||||||
mkdir -p /var/cache/yum
|
mkdir -p /var/cache/dnf
|
||||||
chattr -i /boot/extlinux/ldlinux.sys
|
chattr -i /boot/extlinux/ldlinux.sys
|
||||||
/usr/sbin/fixfiles -R -a restore
|
/usr/sbin/fixfiles -R -a restore
|
||||||
chattr +i /boot/extlinux/ldlinux.sys
|
chattr +i /boot/extlinux/ldlinux.sys
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# See docker-base-common.ks for details on how to hack on docker image kickstarts
|
# See fedora-container-common.ks for details on how to hack on container image kickstarts
|
||||||
# This base is a stripped back Fedora image without python3/dnf.
|
# This base is a stripped back Fedora image without python3/dnf.
|
||||||
# If you need that use the standard base image.
|
# If you need that use the standard base image.
|
||||||
|
|
||||||
%include fedora-docker-common.ks
|
%include fedora-container-common.ks
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
|
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
|
||||||
microdnf
|
microdnf
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# See docker-base-common.ks for details on how to hack on docker image kickstarts
|
# See fedora-container-common.ks for details on how to hack on container image kickstarts
|
||||||
# This base is a standard Fedora image with python3 and dnf
|
# This base is a standard Fedora image with python3 and dnf
|
||||||
|
|
||||||
%include fedora-docker-common.ks
|
%include fedora-container-common.ks
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore
|
%packages --excludedocs --instLangs=en --nocore
|
||||||
rootfiles
|
rootfiles
|
||||||
@@ -12,7 +12,7 @@ vim-minimal
|
|||||||
dnf
|
dnf
|
||||||
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
||||||
sssd-client
|
sssd-client
|
||||||
|
sudo
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
%post --erroronfail --log=/root/anaconda-post.log
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# This is the common bits between Fedora Docker base image.
|
# This is the common bits between Fedora Container base image.
|
||||||
#
|
#
|
||||||
# To keep this image minimal it only installs English language. You need to change
|
# To keep this image minimal it only installs English language. You need to change
|
||||||
# dnf configuration in order to enable other languages.
|
# dnf configuration in order to enable other languages.
|
||||||
@@ -12,8 +12,8 @@
|
|||||||
#
|
#
|
||||||
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
||||||
#
|
#
|
||||||
# ksflatten -c fedora-docker-base[-minimal].ks -o fedora-docker-base-test.ks
|
# ksflatten -c fedora-container-base[-minimal].ks -o fedora-container-base-test.ks
|
||||||
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-docker-base-test.ks docker
|
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-container-base-test.ks docker
|
||||||
#
|
#
|
||||||
|
|
||||||
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
||||||
@@ -30,9 +30,9 @@ clearpart --all
|
|||||||
autopart --noboot --nohome --noswap --nolvm
|
autopart --noboot --nohome --noswap --nolvm
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore
|
%packages --excludedocs --instLangs=en --nocore
|
||||||
fedora-release
|
fedora-release-container
|
||||||
bash
|
bash
|
||||||
coreutils-single
|
coreutils
|
||||||
glibc-minimal-langpack
|
glibc-minimal-langpack
|
||||||
libcrypt
|
libcrypt
|
||||||
rpm
|
rpm
|
||||||
@@ -49,6 +49,7 @@ util-linux
|
|||||||
-shared-mime-info
|
-shared-mime-info
|
||||||
-trousers
|
-trousers
|
||||||
-xkeyboard-config
|
-xkeyboard-config
|
||||||
|
-grubby
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
@@ -62,7 +63,7 @@ echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
|
|||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
|
||||||
echo "Import RPM GPG key"
|
echo "Import RPM GPG key"
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release-container)
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
||||||
|
|
||||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
echo "# fstab intentionally empty for containers" > /etc/fstab
|
||||||
@@ -8,12 +8,15 @@ autopart --noswap
|
|||||||
# install the default groups for the server environment since installing the environment is not working
|
# install the default groups for the server environment since installing the environment is not working
|
||||||
@server-product
|
@server-product
|
||||||
@standard
|
@standard
|
||||||
|
@core
|
||||||
@headless-management
|
@headless-management
|
||||||
@hardware-support
|
@hardware-support
|
||||||
@networkmanager-submodules
|
@networkmanager-submodules
|
||||||
|
|
||||||
@container-management
|
@container-management
|
||||||
@domain-client
|
@domain-client
|
||||||
|
@guest-agents
|
||||||
|
@server-hardware-support
|
||||||
-initial-setup-gui
|
-initial-setup-gui
|
||||||
-generic-release*
|
-generic-release*
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ selinux --enforcing
|
|||||||
rootpw --lock --iscrypted locked
|
rootpw --lock --iscrypted locked
|
||||||
|
|
||||||
# Add most common consoles console=ttyAMA0 console=ttyS0 console=ttyS1 as kernel boot parameter
|
# 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"
|
bootloader --timeout=1 --append="net.ifnames=0 modprobe.blacklist=vc4"
|
||||||
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
|
services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
|
||||||
@@ -24,7 +24,7 @@ autopart --nohome --noswap --type=plain
|
|||||||
|
|
||||||
# Equivalent of %include fedora-repo.ks
|
# Equivalent of %include fedora-repo.ks
|
||||||
# Pull from the ostree repo that was created during the compose
|
# 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
|
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/devel/${basearch}/iot
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
@@ -44,19 +44,22 @@ fi
|
|||||||
|
|
||||||
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
|
# 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.
|
# 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"
|
ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/devel/${arch}/iot"
|
||||||
|
|
||||||
# Make sure the ref we're supposedly sitting on (according
|
# Make sure the ref we're supposedly sitting on (according
|
||||||
# to the updated origin) exists.
|
# to the updated origin) exists.
|
||||||
ostree refs "fedora-iot:fedora/29/${arch}/iot" --create "fedora-iot:fedora/29/${arch}/iot"
|
ostree refs "fedora-iot:fedora/devel/${arch}/iot" --create "fedora-iot:fedora/devel/${arch}/iot"
|
||||||
|
|
||||||
# Remove the old ref so that the commit eventually gets cleaned up.
|
# Remove the old ref so that the commit eventually gets cleaned up.
|
||||||
ostree refs "fedora-iot:fedora/29/${arch}/iot" --delete
|
ostree refs "fedora-iot:fedora/devel/${arch}/iot" --delete
|
||||||
|
|
||||||
# delete/add the remote with new options to enable gpg verification
|
# delete/add the remote with new options to enable gpg verification
|
||||||
# and to point them at the cdn url
|
# and to point them at the cdn url
|
||||||
ostree remote delete fedora-iot
|
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/'
|
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-iot-2019 --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist fedora-iot 'https://ostree.fedoraproject.org/iot'
|
||||||
|
|
||||||
|
# We're gettin a stray console= from somewhere, work around it
|
||||||
|
rpm-ostree kargs --delete=console=tty0
|
||||||
|
|
||||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
@@ -105,10 +108,6 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
|||||||
echo "Adding Developer Mode GRUB2 menu item."
|
echo "Adding Developer Mode GRUB2 menu item."
|
||||||
/usr/libexec/atomic-devmode/bootentry add
|
/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.
|
# Anaconda is writing an /etc/resolv.conf from the install environment.
|
||||||
# The system should start out with an empty file, otherwise cloud-init
|
# The system should start out with an empty file, otherwise cloud-init
|
||||||
# will try to use this information and may error:
|
# will try to use this information and may error:
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ memtest86+
|
|||||||
# The point of a live image is to install
|
# The point of a live image is to install
|
||||||
anaconda
|
anaconda
|
||||||
anaconda-install-env-deps
|
anaconda-install-env-deps
|
||||||
|
anaconda-live
|
||||||
@anaconda-tools
|
@anaconda-tools
|
||||||
|
|
||||||
# Need aajohan-comfortaa-fonts for the SVG rnotes images
|
# Need aajohan-comfortaa-fonts for the SVG rnotes images
|
||||||
@@ -61,6 +62,10 @@ syslinux
|
|||||||
|
|
||||||
# anaconda needs the locales available to run for different locales
|
# anaconda needs the locales available to run for different locales
|
||||||
glibc-all-langpacks
|
glibc-all-langpacks
|
||||||
|
|
||||||
|
# no longer in @core since 2018-10, but needed for livesys script
|
||||||
|
initscripts
|
||||||
|
chkconfig
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@@ -342,8 +347,19 @@ cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
|
|||||||
|
|
||||||
# only works on x86, x86_64
|
# only works on x86, x86_64
|
||||||
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||||
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
# For livecd-creator builds
|
||||||
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
||||||
|
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
||||||
|
|
||||||
|
# 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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
%include fedora-live-base.ks
|
%include fedora-live-base.ks
|
||||||
%include fedora-cinnamon-common.ks
|
%include fedora-cinnamon-common.ks
|
||||||
|
|
||||||
part / --size=6144
|
part / --size=8192
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# cinnamon configuration
|
# cinnamon configuration
|
||||||
|
|||||||
@@ -40,6 +40,10 @@ f28-backgrounds-extras-gnome
|
|||||||
-eog
|
-eog
|
||||||
-rdesktop
|
-rdesktop
|
||||||
|
|
||||||
|
# temporarily removing conflicting application
|
||||||
|
-LuxRender-blender
|
||||||
|
-mypaint
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
# fedora-livedvd-games.ks
|
# fedora-livedvd-games.ks
|
||||||
#
|
#
|
||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Bruno Wolff III <bruno@wolff.to>
|
# - Darryl T. Agostinelli <dagostinelli@gmail.com>
|
||||||
|
# - Formerly maintained by Bruno Wolff III <bruno@wolff.to>
|
||||||
# - Formerly maintained by Rahul Sundaram
|
# - Formerly maintained by Rahul Sundaram
|
||||||
|
|
||||||
%include fedora-live-xfce.ks
|
%include fedora-live-xfce.ks
|
||||||
@@ -45,10 +46,10 @@ extremetuxracer
|
|||||||
freeciv
|
freeciv
|
||||||
freecol
|
freecol
|
||||||
freedoom
|
freedoom
|
||||||
freedroidrpg
|
# freedroidrpg # Cut for size
|
||||||
frozen-bubble
|
frozen-bubble
|
||||||
gl-117
|
gl-117
|
||||||
glob2
|
# glob2 - currently broken
|
||||||
lincity-ng
|
lincity-ng
|
||||||
tmw
|
tmw
|
||||||
#maniadrive - currently broken
|
#maniadrive - currently broken
|
||||||
@@ -66,8 +67,8 @@ ultimatestunts
|
|||||||
warzone2100
|
warzone2100
|
||||||
wesnoth
|
wesnoth
|
||||||
# worminator # Would pull in fluid-soundfont-lite-patches
|
# worminator # Would pull in fluid-soundfont-lite-patches
|
||||||
warmux
|
# warmux # Cut for size
|
||||||
xmoto
|
# xmoto # Cut for size
|
||||||
|
|
||||||
# traditional (small)
|
# traditional (small)
|
||||||
|
|
||||||
@@ -99,7 +100,7 @@ pachi
|
|||||||
pioneers
|
pioneers
|
||||||
quarry
|
quarry
|
||||||
# Ri-li cut for size
|
# Ri-li cut for size
|
||||||
rogue
|
# rogue # abandoned. Someone pick it up so we can include it again!
|
||||||
# scorchwentbonkers # Would pull in fluid-soundfont-lite-patches
|
# scorchwentbonkers # Would pull in fluid-soundfont-lite-patches
|
||||||
seahorse-adventures
|
seahorse-adventures
|
||||||
solarwolf
|
solarwolf
|
||||||
@@ -181,15 +182,13 @@ tuxtype2
|
|||||||
# kde based games
|
# kde based games
|
||||||
taxipilot
|
taxipilot
|
||||||
|
|
||||||
|
# compilations (we are avoiding compilations, rare exceptions)
|
||||||
|
bsd-games
|
||||||
|
|
||||||
# utilities
|
# utilities
|
||||||
|
|
||||||
games-menus
|
games-menus
|
||||||
|
|
||||||
# Note some stuff I don't want pulled into the games spin.
|
|
||||||
|
|
||||||
# No compilations of games as I want to only include games that at least
|
|
||||||
# someone thought were good within a genre.
|
|
||||||
|
|
||||||
# Nothing should be downloading data to play.
|
# Nothing should be downloading data to play.
|
||||||
-autodownloader
|
-autodownloader
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
%include fedora-mate-common.ks
|
%include fedora-mate-common.ks
|
||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
|
|
||||||
part / --size 6144
|
part / --size 7168
|
||||||
|
|
||||||
%post
|
%post
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
|
|||||||
@@ -5,5 +5,7 @@
|
|||||||
# The Workstion based Python Classroom Lab
|
# The Workstion based Python Classroom Lab
|
||||||
|
|
||||||
%include fedora-live-workstation.ks
|
%include fedora-live-workstation.ks
|
||||||
%include fedora-live-minimization.ks
|
|
||||||
%include fedora-python-classroom-gnome-common.ks
|
%include fedora-python-classroom-gnome-common.ks
|
||||||
|
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1695796
|
||||||
|
part / --size 7168
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ gnome-keyring
|
|||||||
|
|
||||||
|
|
||||||
# l10n
|
# l10n
|
||||||
lxqt-l10n
|
@lxqt-l10n
|
||||||
lximage-qt-l10n
|
lximage-qt-l10n
|
||||||
obconf-qt-l10n
|
obconf-qt-l10n
|
||||||
pavucontrol-qt-l10n
|
pavucontrol-qt-l10n
|
||||||
|
|||||||
@@ -1,70 +0,0 @@
|
|||||||
# See fedora-modular-container-common.ks for details on how to hack on container image kickstarts
|
|
||||||
# This base is a stripped back Fedora image without python3/dnf.
|
|
||||||
# If you need that use the standard base image.
|
|
||||||
|
|
||||||
%include fedora-modular-container-common.ks
|
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
|
|
||||||
microdnf
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
|
||||||
# remove some random help txt files
|
|
||||||
rm -fv usr/share/gnupg/help*.txt
|
|
||||||
|
|
||||||
# Pruning random things
|
|
||||||
rm usr/lib/rpm/rpm.daily
|
|
||||||
rm -rfv usr/lib64/nss/unsupported-tools/ # unsupported
|
|
||||||
|
|
||||||
# Statically linked crap
|
|
||||||
rm -fv usr/sbin/{glibc_post_upgrade.x86_64,sln}
|
|
||||||
ln usr/bin/ln usr/sbin/sln
|
|
||||||
|
|
||||||
# Remove some dnf info
|
|
||||||
rm -rfv /var/lib/dnf
|
|
||||||
|
|
||||||
# don't need icons
|
|
||||||
rm -rfv /usr/share/icons/*
|
|
||||||
|
|
||||||
#some random not-that-useful binaries
|
|
||||||
rm -fv /usr/bin/pinky
|
|
||||||
|
|
||||||
# we lose presets by removing /usr/lib/systemd but we do not care
|
|
||||||
rm -rfv /usr/lib/systemd
|
|
||||||
|
|
||||||
# if you want to change the timezone, bind-mount it from the host or reinstall tzdata
|
|
||||||
rm -fv /etc/localtime
|
|
||||||
mv /usr/share/zoneinfo/UTC /etc/localtime
|
|
||||||
rm -rfv /usr/share/zoneinfo
|
|
||||||
|
|
||||||
# Final pruning
|
|
||||||
rm -rfv /var/cache/* /var/log/* /tmp/*
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
|
|
||||||
# Fix /run/lock breakage since it's not tmpfs in container
|
|
||||||
# This unmounts /run (tmpfs) and then recreates the files
|
|
||||||
# in the /run directory on the root filesystem of the container
|
|
||||||
# NOTE: run this in nochroot because "umount" does not exist in chroot
|
|
||||||
umount /mnt/sysimage/run
|
|
||||||
# The file that specifies the /run/lock tmpfile is
|
|
||||||
# /usr/lib/tmpfiles.d/legacy.conf, which is part of the systemd
|
|
||||||
# rpm that isn't included in this image. We'll create the /run/lock
|
|
||||||
# file here manually with the settings from legacy.conf
|
|
||||||
# NOTE: chroot to run "install" because it is not in anaconda env
|
|
||||||
chroot /mnt/sysimage install -d /run/lock -m 0755 -o root -g root
|
|
||||||
|
|
||||||
|
|
||||||
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816
|
|
||||||
# NOTE: run this in nochroot because "find" does not exist in chroot
|
|
||||||
KEEPLANG=en_US
|
|
||||||
for dir in locale i18n; do
|
|
||||||
find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} +
|
|
||||||
done
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
# See fedora-modular-container-common.ks for details on how to hack on container image kickstarts
|
|
||||||
# This base is a standard Fedora image with python3 and dnf
|
|
||||||
|
|
||||||
%include fedora-modular-container-common.ks
|
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore
|
|
||||||
rootfiles
|
|
||||||
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
|
||||||
vim-minimal
|
|
||||||
dnf
|
|
||||||
dnf-yum # https://pagure.io/fesco/ticket/1312#comment:29
|
|
||||||
sssd-client
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
|
||||||
# remove some extraneous files
|
|
||||||
rm -rf /var/cache/dnf/*
|
|
||||||
rm -rf /tmp/*
|
|
||||||
|
|
||||||
#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
|
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
|
|
||||||
# Fix /run/lock breakage since it's not tmpfs in container
|
|
||||||
# This unmounts /run (tmpfs) and then recreates the files
|
|
||||||
# in the /run directory on the root filesystem of the container
|
|
||||||
#
|
|
||||||
# We ignore the return code of the systemd-tmpfiles command because
|
|
||||||
# at this point we have already removed the /etc/machine-id and all
|
|
||||||
# tmpfiles lines with %m in them will fail and cause a bad return
|
|
||||||
# code. Example failure:
|
|
||||||
# [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
|
|
||||||
#
|
|
||||||
umount /run
|
|
||||||
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
# This is the common bits between Container base images based on Modular Fedora.
|
|
||||||
#
|
|
||||||
# To keep this image minimal it only installs English language. You need to change
|
|
||||||
# dnf configuration in order to enable other languages.
|
|
||||||
#
|
|
||||||
# ## Hacking on this image ###
|
|
||||||
# This kickstart is processed using Anaconda-in-ImageFactory (via Koji typically),
|
|
||||||
# but you can run imagefactory locally too.
|
|
||||||
#
|
|
||||||
# To do so, testing local changes, first you'll need a TDL file. I store one here:
|
|
||||||
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
|
|
||||||
#
|
|
||||||
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
|
||||||
#
|
|
||||||
# ksflatten -c fedora-modular-base[-minimal].ks -o fedora-modular-base-test.ks
|
|
||||||
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-modular-base-test.ks modular
|
|
||||||
#
|
|
||||||
|
|
||||||
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
|
||||||
bootloader --disabled
|
|
||||||
timezone --isUtc --nontp Etc/UTC
|
|
||||||
rootpw --lock --iscrypted locked
|
|
||||||
keyboard us
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
|
||||||
reboot
|
|
||||||
|
|
||||||
# boot partitions are irrelevant as the final container image is a tarball
|
|
||||||
zerombr
|
|
||||||
clearpart --all
|
|
||||||
autopart --nohome --noswap --nolvm
|
|
||||||
|
|
||||||
%packages --excludedocs --instLangs=en --nocore
|
|
||||||
fedora-modular-release
|
|
||||||
bash
|
|
||||||
coreutils-single
|
|
||||||
glibc-minimal-langpack
|
|
||||||
libcrypt
|
|
||||||
rpm
|
|
||||||
shadow-utils
|
|
||||||
sssd-client
|
|
||||||
util-linux
|
|
||||||
-kernel
|
|
||||||
-dosfstools
|
|
||||||
-e2fsprogs
|
|
||||||
-fuse-libs
|
|
||||||
-gnupg2-smime
|
|
||||||
-libss # used by e2fsprogs
|
|
||||||
-libusbx
|
|
||||||
-pinentry
|
|
||||||
-shared-mime-info
|
|
||||||
-trousers
|
|
||||||
-xkeyboard-config
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
# Set install langs macro so that new rpms that get installed will
|
|
||||||
# only install langs that we limit it to.
|
|
||||||
LANG="en_US"
|
|
||||||
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
|
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
|
|
||||||
echo "Import RPM GPG key"
|
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
|
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
|
||||||
|
|
||||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
|
||||||
|
|
||||||
# Remove machine-id on pre generated images
|
|
||||||
rm -f /etc/machine-id
|
|
||||||
touch /etc/machine-id
|
|
||||||
|
|
||||||
%end
|
|
||||||
@@ -17,6 +17,8 @@ wget
|
|||||||
-python33
|
-python33
|
||||||
-python34
|
-python34
|
||||||
-python35
|
-python35
|
||||||
|
-python36
|
||||||
|
-python38
|
||||||
-pypy
|
-pypy
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
%include fedora-python-classroom-common.ks
|
%include fedora-python-classroom-common.ks
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
ninja-ide
|
|
||||||
emacs
|
emacs
|
||||||
python3-matplotlib-tk
|
python3-matplotlib-tk
|
||||||
python3-pillow-tk
|
python3-pillow-tk
|
||||||
|
|||||||
@@ -28,14 +28,6 @@ armadillo-devel
|
|||||||
ddd
|
ddd
|
||||||
valgrind
|
valgrind
|
||||||
|
|
||||||
#python 2 tools/libraries not included from the groups
|
|
||||||
python2-tools
|
|
||||||
python-ipython
|
|
||||||
python-ipython-console
|
|
||||||
python-ipython-notebook
|
|
||||||
sympy
|
|
||||||
python-networkx
|
|
||||||
python-pandas
|
|
||||||
|
|
||||||
#python 3 and tools/libraries not included from the groups
|
#python 3 and tools/libraries not included from the groups
|
||||||
python3
|
python3
|
||||||
@@ -51,8 +43,6 @@ python3-networkx
|
|||||||
python3-pandas
|
python3-pandas
|
||||||
|
|
||||||
# matplotlib backends
|
# matplotlib backends
|
||||||
python-matplotlib-qt4
|
|
||||||
python-matplotlib-tk
|
|
||||||
python3-matplotlib-qt4
|
python3-matplotlib-qt4
|
||||||
python3-matplotlib-tk
|
python3-matplotlib-tk
|
||||||
|
|
||||||
@@ -101,7 +91,6 @@ openmpi
|
|||||||
openmpi-devel
|
openmpi-devel
|
||||||
valgrind-openmpi
|
valgrind-openmpi
|
||||||
libgomp
|
libgomp
|
||||||
python-pp
|
|
||||||
mpi4py-openmpi
|
mpi4py-openmpi
|
||||||
python3-mpi4py-openmpi
|
python3-mpi4py-openmpi
|
||||||
|
|
||||||
|
|||||||
@@ -165,14 +165,4 @@ automatic=true
|
|||||||
EOF
|
EOF
|
||||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
/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
|
%end
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ timezone Europe/Zurich
|
|||||||
|
|
||||||
%packages
|
%packages
|
||||||
-gnome-blog
|
-gnome-blog
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ timezone Europe/Berlin
|
|||||||
|
|
||||||
%packages
|
%packages
|
||||||
-gnome-blog
|
-gnome-blog
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard fr-latin9
|
|||||||
timezone Europe/Paris
|
timezone Europe/Paris
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@french-support
|
langpacks-fr
|
||||||
# exclude input methods:
|
# exclude input methods:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard jp
|
|||||||
timezone Asia/Tokyo
|
timezone Asia/Tokyo
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@japanese-support
|
langpacks-ja
|
||||||
# exclude input methods except ibus:
|
# exclude input methods except ibus:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard us
|
|||||||
timezone Europe/Amsterdam
|
timezone Europe/Amsterdam
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@dutch-support
|
langpacks-nl
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard br-abnt2
|
|||||||
timezone America/Sao_Paulo
|
timezone America/Sao_Paulo
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@brazilian-support
|
langpacks-pt_BR
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard pt-latin1
|
|||||||
timezone Europe/Lisbon
|
timezone Europe/Lisbon
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@portuguese-support
|
langpacks-pt
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard ru
|
|||||||
timezone Europe/Moscow
|
timezone Europe/Moscow
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@russian-support
|
langpacks-ru
|
||||||
hunspell-ru
|
hunspell-ru
|
||||||
|
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard de-latin1-nodeadkeys
|
|||||||
timezone Europe/Berlin
|
timezone Europe/Berlin
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard jp
|
|||||||
timezone Asia/Tokyo
|
timezone Asia/Tokyo
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@japanese-support
|
langpacks-ja
|
||||||
# exclude input methods except ibus:
|
# exclude input methods except ibus:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard sg-latin1-nodeadkeys
|
|||||||
timezone Europe/Zurich
|
timezone Europe/Zurich
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard de-latin1-nodeadkeys
|
|||||||
timezone Europe/Berlin
|
timezone Europe/Berlin
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
|
|
||||||
# don't install unnecessary input methods
|
# don't install unnecessary input methods
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard fr-latin9
|
|||||||
timezone Europe/Paris
|
timezone Europe/Paris
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@french-support
|
langpacks-fr
|
||||||
# exclude input methods:
|
# exclude input methods:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard jp
|
|||||||
timezone Asia/Tokyo
|
timezone Asia/Tokyo
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@japanese-support
|
langpacks-ja
|
||||||
# exclude input methods except ibus:
|
# exclude input methods except ibus:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard us
|
|||||||
timezone Europe/Amsterdam
|
timezone Europe/Amsterdam
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@dutch-support
|
langpacks-nl
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard pt-latin1
|
|||||||
timezone Europe/Lisbon
|
timezone Europe/Lisbon
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@portuguese-support
|
langpacks-pt
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard ru
|
|||||||
timezone Europe/Moscow
|
timezone Europe/Moscow
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@russian-support
|
langpacks-ru
|
||||||
hunspell-ru
|
hunspell-ru
|
||||||
|
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard sg-latin1-nodeadkeys
|
|||||||
timezone Europe/Zurich
|
timezone Europe/Zurich
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
|
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-ibus*
|
-ibus*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard de-latin1-nodeadkeys
|
|||||||
timezone Europe/Berlin
|
timezone Europe/Berlin
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
|
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-ibus*
|
-ibus*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard fr-latin9
|
|||||||
timezone Europe/Paris
|
timezone Europe/Paris
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@french-support
|
langpacks-fr
|
||||||
# exclude input methods:
|
# exclude input methods:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard jp
|
|||||||
timezone Asia/Tokyo
|
timezone Asia/Tokyo
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@japanese-support
|
langpacks-ja
|
||||||
# exclude input methods except ibus:
|
# exclude input methods except ibus:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard ru
|
|||||||
timezone Europe/Moscow
|
timezone Europe/Moscow
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@russian-support
|
langpacks-ru
|
||||||
hunspell-ru
|
hunspell-ru
|
||||||
|
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Fabian Affolter <fab at fedoraproject.org>
|
# - Fabian Affolter <fab at fedoraproject.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang de_DE
|
lang de_DE
|
||||||
keyboard sg-latin1-nodeadkeys
|
keyboard sg-latin1-nodeadkeys
|
||||||
timezone Europe/Zurich
|
timezone Europe/Zurich
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Fabian Affolter <fab at fedoraproject.org>
|
# - Fabian Affolter <fab at fedoraproject.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang de_DE.UTF-8
|
lang de_DE.UTF-8
|
||||||
keyboard de-latin1-nodeadkeys
|
keyboard de-latin1-nodeadkeys
|
||||||
timezone Europe/Berlin
|
timezone Europe/Berlin
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang fr_FR.UTF-8
|
lang fr_FR.UTF-8
|
||||||
keyboard fr-latin9
|
keyboard fr-latin9
|
||||||
timezone Europe/Paris
|
timezone Europe/Paris
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@french-support
|
langpacks-fr
|
||||||
# exclude input methods:
|
# exclude input methods:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard jp
|
|||||||
timezone Asia/Tokyo
|
timezone Asia/Tokyo
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@japanese-support
|
langpacks-ja
|
||||||
# exclude input methods except ibus:
|
# exclude input methods except ibus:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang nl_NL
|
lang nl_NL
|
||||||
keyboard us
|
keyboard us
|
||||||
timezone Europe/Amsterdam
|
timezone Europe/Amsterdam
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@dutch-support
|
langpacks-nl
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang pt_PT.UTF-8
|
lang pt_PT.UTF-8
|
||||||
keyboard pt-latin1
|
keyboard pt-latin1
|
||||||
timezone Europe/Lisbon
|
timezone Europe/Lisbon
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@portuguese-support
|
langpacks-pt
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Sergey Mihailov <sergey.mihailov at gmail.com>
|
# - Sergey Mihailov <sergey.mihailov at gmail.com>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang ru_RU.UTF-8
|
lang ru_RU.UTF-8
|
||||||
keyboard ru
|
keyboard ru
|
||||||
timezone Europe/Moscow
|
timezone Europe/Moscow
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@russian-support
|
langpacks-ru
|
||||||
hunspell-ru
|
hunspell-ru
|
||||||
|
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard sg-latin1
|
|||||||
timezone Europe/Zurich
|
timezone Europe/Zurich
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard de-latin1-nodeadkeys
|
|||||||
timezone Europe/Berlin
|
timezone Europe/Berlin
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard us
|
|||||||
timezone Europe/Amsterdam
|
timezone Europe/Amsterdam
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@dutch-support
|
langpacks-nl
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard pt-latin1
|
|||||||
timezone Europe/Lisbon
|
timezone Europe/Lisbon
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@portuguese-support
|
langpacks-pt
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard ru
|
|||||||
timezone Europe/Moscow
|
timezone Europe/Moscow
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@russian-support
|
langpacks-ru
|
||||||
hunspell-ru
|
hunspell-ru
|
||||||
|
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard sg-latin1
|
|||||||
timezone Europe/Zurich
|
timezone Europe/Zurich
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard de-latin1-nodeadkeys
|
|||||||
timezone Europe/Berlin
|
timezone Europe/Berlin
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@german-support
|
langpacks-de
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ keyboard ja
|
|||||||
timezone Asia/Tokyo
|
timezone Asia/Tokyo
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@japanese-support
|
langpacks-ja
|
||||||
# exclude input methods except ibus:
|
# exclude input methods except ibus:
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard us
|
|||||||
timezone Europe/Amsterdam
|
timezone Europe/Amsterdam
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@dutch-support
|
langpacks-nl
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard pt-latin1
|
|||||||
timezone Europe/Lisbon
|
timezone Europe/Lisbon
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@portuguese-support
|
langpacks-pt
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
-m17n*
|
-m17n*
|
||||||
-scim*
|
-scim*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ keyboard ru
|
|||||||
timezone Europe/Moscow
|
timezone Europe/Moscow
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@russian-support
|
langpacks-ru
|
||||||
hunspell-ru
|
hunspell-ru
|
||||||
|
|
||||||
# exclude input methods
|
# exclude input methods
|
||||||
|
|||||||
Reference in New Issue
Block a user