mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 16:40:30 +08:00
Compare commits
23 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aaec0f8129 | ||
|
|
7b26fe5163 | ||
|
|
6108ac78ef | ||
|
|
51abf8dcd5 | ||
|
|
35240067e0 | ||
|
|
850a7dffa9 | ||
|
|
a34e9933c4 | ||
|
|
2d460892ea | ||
|
|
673510bb16 | ||
|
|
4f135d3451 | ||
|
|
5e3dd44b48 | ||
|
|
c6b30892c3 | ||
|
|
d91769ea0b | ||
|
|
afc2a37a1f | ||
|
|
ccf44b42b5 | ||
|
|
623954ee2f | ||
|
|
1887cb4fa5 | ||
|
|
b57f7360a4 | ||
|
|
9dfd288a36 | ||
|
|
61cb946439 | ||
|
|
98eed504de | ||
|
|
d5e9ab1d4b | ||
|
|
55bedb122a |
102
fedora-aos.ks
Normal file
102
fedora-aos.ks
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
# Kickstart file to build the appliance operating
|
||||||
|
# system for fedora.
|
||||||
|
# This is based on the work at http://www.thincrust.net
|
||||||
|
lang C
|
||||||
|
keyboard us
|
||||||
|
timezone US/Eastern
|
||||||
|
auth --useshadow --passalgo=sha512
|
||||||
|
selinux --permissive
|
||||||
|
firewall --disabled
|
||||||
|
bootloader --timeout=1 --append="acpi=force"
|
||||||
|
network --bootproto=dhcp --device=eth0 --onboot=on
|
||||||
|
|
||||||
|
# Uncomment the next line
|
||||||
|
# to make the root password be thincrust
|
||||||
|
# By default the root password is emptied
|
||||||
|
#rootpw --iscrypted $1$uw6MV$m6VtUWPed4SqgoW6fKfTZ/
|
||||||
|
|
||||||
|
#
|
||||||
|
# Partition Information. Change this as necessary
|
||||||
|
# This information is used by appliance-tools but
|
||||||
|
# not by the livecd tools.
|
||||||
|
#
|
||||||
|
part / --size 1024 --fstype ext4 --ondisk sda
|
||||||
|
|
||||||
|
#
|
||||||
|
# Repositories
|
||||||
|
#
|
||||||
|
%include fedora-repo.ks
|
||||||
|
|
||||||
|
#
|
||||||
|
# Add all the packages after the base packages
|
||||||
|
#
|
||||||
|
%packages --excludedocs --nobase
|
||||||
|
bash
|
||||||
|
kernel
|
||||||
|
grub
|
||||||
|
e2fsprogs
|
||||||
|
passwd
|
||||||
|
policycoreutils
|
||||||
|
chkconfig
|
||||||
|
rootfiles
|
||||||
|
yum
|
||||||
|
vim-minimal
|
||||||
|
acpid
|
||||||
|
#needed to disable selinux
|
||||||
|
lokkit
|
||||||
|
|
||||||
|
#Allow for dhcp access
|
||||||
|
dhclient
|
||||||
|
iputils
|
||||||
|
|
||||||
|
#
|
||||||
|
# Packages to Remove
|
||||||
|
#
|
||||||
|
|
||||||
|
# no need for kudzu if the hardware doesn't change
|
||||||
|
-kudzu
|
||||||
|
-prelink
|
||||||
|
-setserial
|
||||||
|
-ed
|
||||||
|
|
||||||
|
# Remove the authconfig pieces
|
||||||
|
-authconfig
|
||||||
|
-rhpl
|
||||||
|
-wireless-tools
|
||||||
|
|
||||||
|
# Remove the kbd bits
|
||||||
|
-kbd
|
||||||
|
-usermode
|
||||||
|
|
||||||
|
# these are all kind of overkill but get pulled in by mkinitrd ordering
|
||||||
|
-mkinitrd
|
||||||
|
-kpartx
|
||||||
|
-dmraid
|
||||||
|
-mdadm
|
||||||
|
-lvm2
|
||||||
|
-tar
|
||||||
|
|
||||||
|
# selinux toolchain of policycoreutils, libsemanage, ustr
|
||||||
|
-policycoreutils
|
||||||
|
-checkpolicy
|
||||||
|
-selinux-policy*
|
||||||
|
-libselinux-python
|
||||||
|
-libselinux
|
||||||
|
|
||||||
|
# Things it would be nice to loose
|
||||||
|
-fedora-logos
|
||||||
|
generic-logos
|
||||||
|
-fedora-release-notes
|
||||||
|
%end
|
||||||
|
|
||||||
|
#
|
||||||
|
# Add custom post scripts after the base post.
|
||||||
|
#
|
||||||
|
%post
|
||||||
|
|
||||||
|
# Enable network service here, as doing it in the services line
|
||||||
|
# fails due to RHBZ #1369794
|
||||||
|
/sbin/chkconfig network on
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
@@ -4,7 +4,8 @@ auth --useshadow --passalgo=sha512
|
|||||||
selinux --enforcing
|
selinux --enforcing
|
||||||
firewall --enabled --service=mdns,ssh
|
firewall --enabled --service=mdns,ssh
|
||||||
|
|
||||||
bootloader --location=mbr
|
# configure extlinux bootloader
|
||||||
|
bootloader extlinux
|
||||||
|
|
||||||
part /boot/fw --size=30 --fstype vfat --asprimary
|
part /boot/fw --size=30 --fstype vfat --asprimary
|
||||||
part /boot --size=512 --fstype ext4 --asprimary
|
part /boot --size=512 --fstype ext4 --asprimary
|
||||||
@@ -38,6 +39,7 @@ initial-setup
|
|||||||
initial-setup-gui
|
initial-setup-gui
|
||||||
-iwl*
|
-iwl*
|
||||||
-ipw*
|
-ipw*
|
||||||
|
-trousers-lib
|
||||||
-usb_modeswitch
|
-usb_modeswitch
|
||||||
-iproute-tc
|
-iproute-tc
|
||||||
#lets resize / on first boot
|
#lets resize / on first boot
|
||||||
@@ -46,6 +48,13 @@ initial-setup-gui
|
|||||||
# 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
|
||||||
|
|
||||||
|
# workaround for consequence of RHBZ #1324623: without this, with
|
||||||
|
# yum-based creation tools, compose fails due to conflict between
|
||||||
|
# libcrypt and libcrypt-nss. dnf does not seem to have the same
|
||||||
|
# issue, so this may be dropped when appliance-creator is ported
|
||||||
|
# to dnf.
|
||||||
|
libcrypt-nss
|
||||||
|
-libcrypt
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-kde-common.ks
|
%include fedora-kde-common.ks
|
||||||
|
|
||||||
part / --size=6300 --fstype ext4
|
part / --size=5690 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-lxde-common.ks
|
%include fedora-lxde-common.ks
|
||||||
|
|
||||||
part / --size=4000 --fstype ext4
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
%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=3800 --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=5500 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,10 @@
|
|||||||
part / --size=2500 --fstype xfs
|
part / --size=2500 --fstype xfs
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
# install the default groups for the server environment since installing the environment is not working
|
# install the default groups for the server evironment since installing the environment is not working
|
||||||
@server-product
|
@server-product
|
||||||
@standard
|
@standard
|
||||||
@headless-management
|
@headless-management
|
||||||
@hardware-support
|
|
||||||
@networkmanager-submodules
|
|
||||||
|
|
||||||
@container-management
|
@container-management
|
||||||
@domain-client
|
@domain-client
|
||||||
-initial-setup-gui
|
-initial-setup-gui
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-workstation-common.ks
|
%include fedora-workstation-common.ks
|
||||||
|
|
||||||
part / --size=6200 --fstype ext4
|
part / --size=5500 --fstype ext4
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-initial-setup
|
-initial-setup
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-xfce-common.ks
|
%include fedora-xfce-common.ks
|
||||||
|
|
||||||
part / --size=4700 --fstype ext4
|
part / --size=4500 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
|||||||
@@ -1,20 +1,10 @@
|
|||||||
# Fedora Atomic Host is the Fedora version of the "Atomic Host" pattern
|
# Fedora Atomic is a cloud-focused spin implementing the Project
|
||||||
# from [Project Atomic](http://www.projectatomic.io/).
|
# Atomic patterns. Note that this replicates the same tree which can
|
||||||
|
# now be installed on bare metal.
|
||||||
|
|
||||||
# This kickstart is used for cloud/virt images, and uses cloud-init
|
# This image allocates most space to an LVM-managed thin pool
|
||||||
# to bootstrap authentication, just like Fedora Cloud Base. (Also note the
|
# dedicated for Docker containers, and uses docker-storage-setup to
|
||||||
# fedora-atomic-vagrant.ks kickstart inherits from this).
|
# dynamically resize storage on boot.
|
||||||
|
|
||||||
# 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
|
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
@@ -25,8 +15,6 @@ auth --useshadow --passalgo=sha512
|
|||||||
selinux --enforcing
|
selinux --enforcing
|
||||||
rootpw --lock --iscrypted locked
|
rootpw --lock --iscrypted locked
|
||||||
|
|
||||||
# Explicitly disable firewall since cloud providers generally provide
|
|
||||||
# higher level firewall constructs (i.e. security groups).
|
|
||||||
firewall --disabled
|
firewall --disabled
|
||||||
|
|
||||||
# console=ttyAMA0 and console=hvc0 as kernel boot parameter to see
|
# console=ttyAMA0 and console=hvc0 as kernel boot parameter to see
|
||||||
@@ -41,8 +29,7 @@ services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
|||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all
|
||||||
# Implement: https://pagure.io/atomic-wg/issue/281
|
# Implement: https://pagure.io/atomic-wg/issue/281
|
||||||
# The bare metal layout currently inherits from fedora server and is in
|
# The bare metal layout default is in http://pkgs.fedoraproject.org/cgit/rpms/fedora-productimg-atomic.git
|
||||||
# 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
|
# 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
|
# "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).
|
# Vagrant boxes come big and rely on thin provisioning).
|
||||||
@@ -58,7 +45,7 @@ logvol / --size=3000 --grow --fstype="xfs" --name=root --vgname=atomicos
|
|||||||
|
|
||||||
# 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-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/28/${basearch}/updates/atomic-host
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/atomic/27/ --ref=fedora/27/${basearch}/updates/atomic-host
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
@@ -68,20 +55,19 @@ arch=$(uname -m)
|
|||||||
|
|
||||||
# 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-atomic https://kojipkgs.fedoraproject.org/compose/atomic/repo/ "fedora/28/${arch}/atomic-host"
|
ostree admin set-origin --index 0 fedora-atomic https://kojipkgs.fedoraproject.org/atomic/27/ "fedora/27/${arch}/atomic-host"
|
||||||
|
|
||||||
# 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-atomic:fedora/28/${arch}/updates/atomic-host" --create "fedora-atomic:fedora/28/${arch}/atomic-host"
|
ostree refs "fedora-atomic:fedora/27/${arch}/updates/atomic-host" --create "fedora-atomic:fedora/27/${arch}/atomic-host"
|
||||||
|
|
||||||
# Remove the old ref so that the commit eventually gets
|
# Remove the old ref so that the commit eventually gets
|
||||||
# cleaned up.
|
# cleaned up.
|
||||||
ostree refs "fedora-atomic:fedora/28/${arch}/updates/atomic-host" --delete
|
ostree refs "fedora-atomic:fedora/27/${arch}/updates/atomic-host" --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
|
|
||||||
ostree remote delete fedora-atomic
|
ostree remote delete fedora-atomic
|
||||||
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary fedora-atomic 'https://dl.fedoraproject.org/atomic/repo/'
|
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/27/'
|
||||||
|
|
||||||
# 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
|
||||||
@@ -110,9 +96,12 @@ NETWORKING=yes
|
|||||||
NOZEROCONF=yes
|
NOZEROCONF=yes
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Remove any persistent NIC rules generated by udev
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
rm -vf /etc/udev/rules.d/*persistent-net*.rules
|
# we don't want to be tied to specific virtual (!) hardware
|
||||||
# And ensure that we will do DHCP on eth0 on startup
|
rm -f /etc/udev/rules.d/70*
|
||||||
|
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||||
|
|
||||||
|
# simple eth0 config, again not hard-coded to the build hardware
|
||||||
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||||
DEVICE="eth0"
|
DEVICE="eth0"
|
||||||
BOOTPROTO="dhcp"
|
BOOTPROTO="dhcp"
|
||||||
@@ -121,12 +110,24 @@ TYPE="Ethernet"
|
|||||||
PERSISTENT_DHCLIENT="yes"
|
PERSISTENT_DHCLIENT="yes"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# generic localhost names
|
||||||
|
cat > /etc/hosts << EOF
|
||||||
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||||
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
|
|
||||||
|
EOF
|
||||||
|
echo .
|
||||||
|
|
||||||
|
|
||||||
# Because memory is scarce resource in most cloud/virt environments,
|
# Because memory is scarce resource in most cloud/virt environments,
|
||||||
# and because this impedes forensics, we are differing from the Fedora
|
# and because this impedes forensics, we are differing from the Fedora
|
||||||
# default of having /tmp on tmpfs.
|
# default of having /tmp on tmpfs.
|
||||||
echo "Disabling tmpfs for /tmp."
|
echo "Disabling tmpfs for /tmp."
|
||||||
systemctl mask tmp.mount
|
systemctl mask tmp.mount
|
||||||
|
|
||||||
|
# make sure firstboot doesn't start
|
||||||
|
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
||||||
|
|
||||||
# Uncomment this if you want to use cloud init but suppress the creation
|
# 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,
|
# 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.
|
# cause the ssh key from a metadata source to be put in the root account.
|
||||||
|
|||||||
@@ -12,7 +12,16 @@
|
|||||||
@cinnamon-desktop
|
@cinnamon-desktop
|
||||||
@libreoffice
|
@libreoffice
|
||||||
|
|
||||||
|
# internet and multimedia
|
||||||
|
pidgin
|
||||||
|
hexchat
|
||||||
|
transmission
|
||||||
|
|
||||||
|
# mp3 support
|
||||||
|
gstreamer1-plugins-ugly-free
|
||||||
|
|
||||||
# extra backgrounds
|
# extra backgrounds
|
||||||
f27-backgrounds-extras-gnome
|
desktop-backgrounds-basic
|
||||||
|
f26-backgrounds-extras-gnome
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ dnf-yum
|
|||||||
# users setup. This can actually take a bit of time. Just fold it
|
# users setup. This can actually take a bit of time. Just fold it
|
||||||
# in to the base box disk image
|
# in to the base box disk image
|
||||||
rsync
|
rsync
|
||||||
# Add in sshfs for vagrant-sshfs plugin
|
|
||||||
fuse-sshfs
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --erroronfail
|
%post --erroronfail
|
||||||
|
|||||||
@@ -35,8 +35,7 @@ rootpw --lock --iscrypted locked
|
|||||||
|
|
||||||
firewall --disabled
|
firewall --disabled
|
||||||
|
|
||||||
# We pass net.ifnames=0 because we always want to use eth0 here on all the cloud images.
|
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||||
bootloader --timeout=1 --append="no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8"
|
|
||||||
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
@@ -171,6 +170,11 @@ NOZEROCONF=yes
|
|||||||
DEVTIMEOUT=10
|
DEVTIMEOUT=10
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
|
# we don't want to be tied to specific virtual (!) hardware
|
||||||
|
rm -f /etc/udev/rules.d/70*
|
||||||
|
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||||
|
|
||||||
# simple eth0 config, again not hard-coded to the build hardware
|
# simple eth0 config, again not hard-coded to the build hardware
|
||||||
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
|
||||||
DEVICE="eth0"
|
DEVICE="eth0"
|
||||||
@@ -241,12 +245,8 @@ dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
|||||||
rm -f /var/tmp/zeros
|
rm -f /var/tmp/zeros
|
||||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
echo "(Don't worry -- that out-of-space error was expected.)"
|
||||||
|
|
||||||
# When we build the image with oz, dracut is used
|
# For trac ticket https://fedorahosted.org/cloud/ticket/128
|
||||||
# and sets up a ifcfg-en<whatever> for the device. We don't
|
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
||||||
# 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*
|
|
||||||
|
|
||||||
# Enable network service here, as doing it in the services line
|
# Enable network service here, as doing it in the services line
|
||||||
# fails due to RHBZ #1369794
|
# fails due to RHBZ #1369794
|
||||||
|
|||||||
@@ -55,6 +55,13 @@ initial-setup
|
|||||||
# 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
|
||||||
|
|
||||||
|
# workaround for consequence of RHBZ #1324623: without this, with
|
||||||
|
# yum-based creation tools, compose fails due to conflict between
|
||||||
|
# libcrypt and libcrypt-nss. dnf does not seem to have the same
|
||||||
|
# issue, so this may be dropped when appliance-creator is ported
|
||||||
|
# to dnf.
|
||||||
|
libcrypt-nss
|
||||||
|
-libcrypt
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|||||||
@@ -5,13 +5,10 @@ services --enabled=sshd,NetworkManager,chronyd,initial-setup
|
|||||||
autopart
|
autopart
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
# install the default groups for the server environment since installing the environment is not working
|
# install the default groups for the server evironment since installing the environment is not working
|
||||||
@server-product
|
@server-product
|
||||||
@standard
|
@standard
|
||||||
@headless-management
|
@headless-management
|
||||||
@hardware-support
|
|
||||||
@networkmanager-submodules
|
|
||||||
|
|
||||||
@container-management
|
@container-management
|
||||||
@domain-client
|
@domain-client
|
||||||
-initial-setup-gui
|
-initial-setup-gui
|
||||||
|
|||||||
@@ -32,24 +32,17 @@ autopart --noboot --nohome --noswap --nolvm
|
|||||||
%packages --excludedocs --instLangs=en --nocore
|
%packages --excludedocs --instLangs=en --nocore
|
||||||
fedora-release
|
fedora-release
|
||||||
bash
|
bash
|
||||||
coreutils
|
|
||||||
glibc-minimal-langpack
|
|
||||||
libcrypt
|
|
||||||
rpm
|
|
||||||
shadow-utils
|
|
||||||
sssd-client
|
|
||||||
util-linux
|
|
||||||
-kernel
|
-kernel
|
||||||
-dosfstools
|
-dosfstools
|
||||||
-e2fsprogs
|
-e2fsprogs
|
||||||
-fuse-libs
|
-fuse-libs
|
||||||
-gnupg2-smime
|
-gnupg2-smime
|
||||||
-libss # used by e2fsprogs
|
-libss # used by e2fsprogs
|
||||||
|
-libusbx
|
||||||
-pinentry
|
-pinentry
|
||||||
-shared-mime-info
|
-shared-mime-info
|
||||||
-trousers
|
-trousers
|
||||||
-xkeyboard-config
|
-xkeyboard-config
|
||||||
-grubby
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
121
fedora-iot.ks
121
fedora-iot.ks
@@ -1,121 +0,0 @@
|
|||||||
# 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
|
|
||||||
firstboot --reconfig --enable
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# tell Initial Setup to run in the reconfig mode
|
|
||||||
firstboot --reconfig --enable
|
|
||||||
|
|
||||||
zerombr
|
|
||||||
clearpart --all
|
|
||||||
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/28/${basearch}/iot
|
|
||||||
|
|
||||||
reboot
|
|
||||||
|
|
||||||
%post --erroronfail
|
|
||||||
# Find the architecture we are on
|
|
||||||
arch=$(uname -m)
|
|
||||||
|
|
||||||
# Setup Raspberry Pi firmware
|
|
||||||
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
|
||||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
|
|
||||||
if [[ $arch == "aarch64" ]]; then
|
|
||||||
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
|
|
||||||
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/28/ "fedora/28/${arch}/iot"
|
|
||||||
|
|
||||||
# Make sure the ref we're supposedly sitting on (according
|
|
||||||
# to the updated origin) exists.
|
|
||||||
ostree refs "fedora-iot:fedora/28/${arch}/iot" --create "fedora-iot:fedora/28/${arch}/iot"
|
|
||||||
|
|
||||||
# Remove the old ref so that the commit eventually gets cleaned up.
|
|
||||||
ostree refs "fedora-iot:fedora/28/${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-28-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
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
%packages
|
%packages
|
||||||
@firefox
|
@firefox
|
||||||
@kde-apps
|
@kde-apps
|
||||||
@@ -11,7 +10,7 @@
|
|||||||
### The KDE-Desktop
|
### The KDE-Desktop
|
||||||
|
|
||||||
### Browser
|
### Browser
|
||||||
falkon
|
qupzilla
|
||||||
|
|
||||||
### fixes
|
### fixes
|
||||||
|
|
||||||
@@ -19,7 +18,7 @@ falkon
|
|||||||
-system-config-printer
|
-system-config-printer
|
||||||
# make sure mariadb lands instead of MySQL (hopefully a temporary hack)
|
# make sure mariadb lands instead of MySQL (hopefully a temporary hack)
|
||||||
mariadb-embedded
|
mariadb-embedded
|
||||||
mariadb-connector-c
|
mariadb-libs
|
||||||
mariadb-server
|
mariadb-server
|
||||||
|
|
||||||
# minimal localization support - allows installing the kde-l10n-* packages
|
# minimal localization support - allows installing the kde-l10n-* packages
|
||||||
@@ -45,6 +44,23 @@ mediawriter
|
|||||||
|
|
||||||
### space issues
|
### space issues
|
||||||
|
|
||||||
|
# fonts (we make no bones about admitting we're english-only)
|
||||||
|
wqy-microhei-fonts # a compact CJK font, to replace:
|
||||||
|
-naver-nanum-gothic-fonts # Korean
|
||||||
|
-vlgothic-fonts # Japanese
|
||||||
|
-adobe-source-han-sans-cn-fonts # simplified Chinese
|
||||||
|
-adobe-source-han-sans-tw-fonts # traditional Chinese
|
||||||
|
|
||||||
|
-paratype-pt-sans-fonts # Cyrillic (already supported by DejaVu), huge
|
||||||
|
#-stix-fonts # mathematical symbols
|
||||||
|
|
||||||
|
# remove input methods to free space
|
||||||
|
-@input-methods
|
||||||
|
-scim*
|
||||||
|
-m17n*
|
||||||
|
-ibus*
|
||||||
|
-iok
|
||||||
|
|
||||||
# admin-tools
|
# admin-tools
|
||||||
-gnome-disk-utility
|
-gnome-disk-utility
|
||||||
# kcm_clock still lacks some features, so keep system-config-date around
|
# kcm_clock still lacks some features, so keep system-config-date around
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
# remove input methods to free space
|
|
||||||
%packages
|
|
||||||
-@input-methods
|
|
||||||
-scim*
|
|
||||||
-iok
|
|
||||||
%end
|
|
||||||
|
|
||||||
|
|
||||||
@@ -14,8 +14,7 @@
|
|||||||
# Maintainer: Christian Dersch <lupinix@fedoraproject.org>
|
# Maintainer: Christian Dersch <lupinix@fedoraproject.org>
|
||||||
# https://fedoraproject.org/wiki/User:Lupinix
|
# https://fedoraproject.org/wiki/User:Lupinix
|
||||||
|
|
||||||
%include fedora-live-kde-base.ks
|
%include fedora-live-kde.ks
|
||||||
%include fedora-live-minimization.ks
|
|
||||||
|
|
||||||
# The recommended part size for DVDs is too close to use for the astronomy spin
|
# The recommended part size for DVDs is too close to use for the astronomy spin
|
||||||
part / --size 14500
|
part / --size 14500
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ aajohan-comfortaa-fonts
|
|||||||
|
|
||||||
# Without this, initramfs generation during live image creation fails: #1242586
|
# Without this, initramfs generation during live image creation fails: #1242586
|
||||||
dracut-live
|
dracut-live
|
||||||
|
grub2-efi
|
||||||
syslinux
|
syslinux
|
||||||
|
|
||||||
# anaconda needs the locales available to run for different locales
|
# anaconda needs the locales available to run for different locales
|
||||||
|
|||||||
@@ -31,9 +31,10 @@ gnome-todo
|
|||||||
powerline
|
powerline
|
||||||
powerline-fonts
|
powerline-fonts
|
||||||
|
|
||||||
|
|
||||||
# Extra wallpapers
|
# Extra wallpapers
|
||||||
# f26-backgrounds-extras-base
|
f26-backgrounds-extras-base
|
||||||
# f26-backgrounds-extras-gnome
|
f26-backgrounds-extras-gnome
|
||||||
|
|
||||||
# removal of unneeded applications
|
# removal of unneeded applications
|
||||||
-gnome-boxes
|
-gnome-boxes
|
||||||
@@ -46,7 +47,7 @@ powerline-fonts
|
|||||||
#Override the favorite desktop application in Dash
|
#Override the favorite desktop application in Dash
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[org.gnome.shell]
|
||||||
favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'pitivi.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
|
favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# Add link to lists of tutorials
|
# Add link to lists of tutorials
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ sooperlooper
|
|||||||
|
|
||||||
#recodring and DAW
|
#recodring and DAW
|
||||||
audacity
|
audacity
|
||||||
ardour5
|
ardour4
|
||||||
rosegarden4
|
rosegarden4
|
||||||
seq24
|
seq24
|
||||||
muse
|
muse
|
||||||
|
|||||||
@@ -9,10 +9,9 @@
|
|||||||
|
|
||||||
%include fedora-live-kde-base.ks
|
%include fedora-live-kde-base.ks
|
||||||
%include fedora-live-minimization.ks
|
%include fedora-live-minimization.ks
|
||||||
%include fedora-kde-minimization.ks
|
|
||||||
|
|
||||||
# DVD payload
|
# DVD payload
|
||||||
part / --size=6200
|
part / --size=6144
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
-autofs
|
-autofs
|
||||||
# smartcards won't really work on the livecd.
|
# smartcards won't really work on the livecd.
|
||||||
-coolkey
|
-coolkey
|
||||||
|
-wget
|
||||||
|
|
||||||
# scanning takes quite a bit of space :/
|
# scanning takes quite a bit of space :/
|
||||||
-xsane
|
-xsane
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ firefox
|
|||||||
|
|
||||||
# Dictionaries are big
|
# Dictionaries are big
|
||||||
-aspell-*
|
-aspell-*
|
||||||
|
-hunspell-*
|
||||||
-man-pages*
|
-man-pages*
|
||||||
-words
|
-words
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
|
||||||
# https://fedoraproject.org/wiki/User:Amitksaha
|
# https://fedoraproject.org/wiki/User:Amitksaha
|
||||||
|
|
||||||
%include fedora-live-kde-base.ks
|
%include fedora-live-kde.ks
|
||||||
%include fedora-live-minimization.ks
|
|
||||||
|
|
||||||
# The recommended part size for DVDs is too close to use for the scientific spin
|
# The recommended part size for DVDs is too close to use for the scientific spin
|
||||||
part / --size 14500
|
part / --size 14500
|
||||||
@@ -20,9 +19,9 @@ part / --size 14500
|
|||||||
@engineering-and-scientific
|
@engineering-and-scientific
|
||||||
|
|
||||||
# scilab
|
# scilab
|
||||||
#scilab
|
scilab
|
||||||
#scilab-devel
|
scilab-devel
|
||||||
#scilab-doc
|
scilab-doc
|
||||||
|
|
||||||
# Remove sagemath explicitly?
|
# Remove sagemath explicitly?
|
||||||
-sagemath
|
-sagemath
|
||||||
@@ -50,7 +49,7 @@ python-ipython
|
|||||||
python-ipython-console
|
python-ipython-console
|
||||||
python-ipython-notebook
|
python-ipython-notebook
|
||||||
sympy
|
sympy
|
||||||
#python-networkx
|
python-networkx
|
||||||
python-pandas
|
python-pandas
|
||||||
|
|
||||||
#python 3 and tools/libraries not included from the groups
|
#python 3 and tools/libraries not included from the groups
|
||||||
@@ -63,7 +62,7 @@ python3-ipython
|
|||||||
python3-ipython-console
|
python3-ipython-console
|
||||||
python3-ipython-notebook
|
python3-ipython-notebook
|
||||||
python3-sympy
|
python3-sympy
|
||||||
#python3-networkx
|
python3-networkx
|
||||||
python3-pandas
|
python3-pandas
|
||||||
|
|
||||||
# matplotlib backends
|
# matplotlib backends
|
||||||
@@ -80,7 +79,7 @@ apache-commons-math
|
|||||||
gcc-gfortran
|
gcc-gfortran
|
||||||
|
|
||||||
# GUI for R
|
# GUI for R
|
||||||
#rkward
|
rkward
|
||||||
|
|
||||||
# GUI for Octave
|
# GUI for Octave
|
||||||
qtoctave
|
qtoctave
|
||||||
@@ -91,11 +90,13 @@ julia-doc
|
|||||||
|
|
||||||
# IDEs for the IDE folks
|
# IDEs for the IDE folks
|
||||||
@eclipse
|
@eclipse
|
||||||
spyder
|
#spyder
|
||||||
|
|
||||||
#writing & publishing
|
#writing & publishing
|
||||||
emacs
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1506888
|
||||||
emacs-color-theme
|
#emacs
|
||||||
|
#emacs-color-theme
|
||||||
|
|
||||||
vim
|
vim
|
||||||
scribus
|
scribus
|
||||||
#scite
|
#scite
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ gnome-keyring-pam
|
|||||||
-acpid
|
-acpid
|
||||||
-gimp-help
|
-gimp-help
|
||||||
-desktop-backgrounds-basic
|
-desktop-backgrounds-basic
|
||||||
|
-realmd # only seems to be used in GNOME
|
||||||
-PackageKit* # we switched to dnfdragora, so we don't need this
|
-PackageKit* # we switched to dnfdragora, so we don't need this
|
||||||
-aspell-* # dictionaries are big
|
-aspell-* # dictionaries are big
|
||||||
-gnumeric
|
-gnumeric
|
||||||
|
|||||||
@@ -17,36 +17,16 @@ part / --size 6656
|
|||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
|
|
||||||
|
|
||||||
# disable gnome-software automatically downloading updates
|
# disable updates plugin
|
||||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
|
||||||
[org.gnome.software]
|
[org.gnome.software]
|
||||||
download-updates=false
|
download-updates=false
|
||||||
FOE
|
FOE
|
||||||
|
|
||||||
# don't autostart gnome-software session service
|
|
||||||
rm -f /etc/xdg/autostart/gnome-software-service.desktop
|
|
||||||
|
|
||||||
# disable the gnome-software shell search provider
|
|
||||||
cat >> /usr/share/gnome-shell/search-providers/org.gnome.Software-search-provider.ini << FOE
|
|
||||||
DefaultDisabled=true
|
|
||||||
FOE
|
|
||||||
|
|
||||||
# don't run gnome-initial-setup
|
# don't run gnome-initial-setup
|
||||||
mkdir ~liveuser/.config
|
mkdir ~liveuser/.config
|
||||||
touch ~liveuser/.config/gnome-initial-setup-done
|
touch ~liveuser/.config/gnome-initial-setup-done
|
||||||
|
|
||||||
# suppress anaconda spokes redundant with gnome-initial-setup
|
|
||||||
cat >> /etc/sysconfig/anaconda << FOE
|
|
||||||
[NetworkSpoke]
|
|
||||||
visited=1
|
|
||||||
|
|
||||||
[PasswordSpoke]
|
|
||||||
visited=1
|
|
||||||
|
|
||||||
[UserSpoke]
|
|
||||||
visited=1
|
|
||||||
FOE
|
|
||||||
|
|
||||||
# make the installer show up
|
# make the installer show up
|
||||||
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
if [ -f /usr/share/applications/liveinst.desktop ]; then
|
||||||
# Show harddisk install in shell dash
|
# Show harddisk install in shell dash
|
||||||
|
|||||||
@@ -60,9 +60,6 @@ sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.d
|
|||||||
mkdir /home/liveuser/Desktop
|
mkdir /home/liveuser/Desktop
|
||||||
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
|
||||||
|
|
||||||
# no updater applet in live environment
|
|
||||||
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
|
||||||
|
|
||||||
# and mark it as executable (new Xfce security feature)
|
# and mark it as executable (new Xfce security feature)
|
||||||
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
%packages
|
%packages
|
||||||
|
-PackageKit* # we switched to dnfdragora, so we don't need this
|
||||||
|
firefox
|
||||||
@mate
|
@mate
|
||||||
compiz
|
compiz
|
||||||
compiz-plugins-main
|
compiz-plugins-main
|
||||||
@@ -14,11 +16,22 @@ emerald-themes
|
|||||||
emerald
|
emerald
|
||||||
fusion-icon
|
fusion-icon
|
||||||
@networkmanager-submodules
|
@networkmanager-submodules
|
||||||
|
blueberry
|
||||||
|
|
||||||
# some apps from mate-applications
|
# some apps from mate-applications
|
||||||
caja-actions
|
caja-actions
|
||||||
mate-disk-usage-analyzer
|
mate-disk-usage-analyzer
|
||||||
|
|
||||||
|
# system tools
|
||||||
|
system-config-printer
|
||||||
|
system-config-printer-applet
|
||||||
|
lightdm-gtk-greeter-settings
|
||||||
|
|
||||||
|
# audio video
|
||||||
|
parole
|
||||||
|
exaile
|
||||||
|
gstreamer1-plugins-ugly-free # mp3 support
|
||||||
|
|
||||||
# blacklist applications which breaks mate-desktop
|
# blacklist applications which breaks mate-desktop
|
||||||
-audacious
|
-audacious
|
||||||
|
|
||||||
@@ -28,6 +41,10 @@ mate-disk-usage-analyzer
|
|||||||
# dsl tools
|
# dsl tools
|
||||||
rp-pppoe
|
rp-pppoe
|
||||||
|
|
||||||
|
# some tools
|
||||||
|
p7zip
|
||||||
|
p7zip-plugins
|
||||||
|
|
||||||
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
|
||||||
# desktop image at some point. We won't touch this one for now.
|
# desktop image at some point. We won't touch this one for now.
|
||||||
nss-mdns
|
nss-mdns
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ python3-pillow-tk
|
|||||||
-@sound-and-video
|
-@sound-and-video
|
||||||
-@multimedia
|
-@multimedia
|
||||||
-dleyna*
|
-dleyna*
|
||||||
|
-evolution*
|
||||||
-gnome-boxes
|
-gnome-boxes
|
||||||
-gnome-calendar
|
-gnome-calendar
|
||||||
-gnome-clocks
|
-gnome-clocks
|
||||||
@@ -26,7 +27,6 @@ python3-pillow-tk
|
|||||||
-gnome-documents
|
-gnome-documents
|
||||||
-gnome-font-viewer
|
-gnome-font-viewer
|
||||||
-gnome-maps
|
-gnome-maps
|
||||||
-gnome-photos
|
|
||||||
-gnome-weather
|
-gnome-weather
|
||||||
-grilo-plugins
|
-grilo-plugins
|
||||||
-cheese
|
-cheese
|
||||||
@@ -35,6 +35,7 @@ python3-pillow-tk
|
|||||||
|
|
||||||
# This is no longer workstation
|
# This is no longer workstation
|
||||||
-@workstation-product
|
-@workstation-product
|
||||||
|
-fedora-productimg-workstation
|
||||||
|
|
||||||
# Add a web browser
|
# Add a web browser
|
||||||
@firefox
|
@firefox
|
||||||
@@ -55,11 +56,11 @@ python3-pillow-tk
|
|||||||
|
|
||||||
# Dictionaries are big
|
# Dictionaries are big
|
||||||
-aspell-*
|
-aspell-*
|
||||||
|
-hunspell-*
|
||||||
-words
|
-words
|
||||||
|
|
||||||
# Help and art can be big, too
|
# Help and art can be big, too
|
||||||
-gnome-user-docs
|
-gnome-user-docs
|
||||||
-gnome-getting-started-docs
|
|
||||||
-desktop-backgrounds-basic
|
-desktop-backgrounds-basic
|
||||||
-*backgrounds-extras
|
-*backgrounds-extras
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ firewall --enabled --service=mdns,presence
|
|||||||
-abrt-cli
|
-abrt-cli
|
||||||
-ibus*
|
-ibus*
|
||||||
-hyperv-daemons
|
-hyperv-daemons
|
||||||
-webkit2gtk3-plugin-process-gtk2
|
-webkitgtk4-plugin-process-gtk2
|
||||||
|
|
||||||
# Add some extra fonts
|
# Add some extra fonts
|
||||||
dejavu-sans-fonts
|
dejavu-sans-fonts
|
||||||
|
|||||||
@@ -20,6 +20,9 @@
|
|||||||
@printing
|
@printing
|
||||||
@workstation-product
|
@workstation-product
|
||||||
|
|
||||||
|
# Branding for the installer
|
||||||
|
fedora-productimg-workstation
|
||||||
|
|
||||||
# Exclude unwanted packages from @anaconda-tools group
|
# Exclude unwanted packages from @anaconda-tools group
|
||||||
-gfs2-utils
|
-gfs2-utils
|
||||||
-reiserfs-utils
|
-reiserfs-utils
|
||||||
|
|||||||
@@ -27,8 +27,10 @@ gnome-keyring-pam
|
|||||||
# Note that blank is still default.
|
# Note that blank is still default.
|
||||||
xscreensaver-extras
|
xscreensaver-extras
|
||||||
wget
|
wget
|
||||||
|
# Handy for debugging
|
||||||
|
rfkill
|
||||||
# Better more popular browser
|
# Better more popular browser
|
||||||
#firefox
|
firefox
|
||||||
system-config-printer
|
system-config-printer
|
||||||
|
|
||||||
# save some space
|
# save some space
|
||||||
@@ -36,8 +38,8 @@ system-config-printer
|
|||||||
-acpid
|
-acpid
|
||||||
-gimp-help
|
-gimp-help
|
||||||
-desktop-backgrounds-basic
|
-desktop-backgrounds-basic
|
||||||
|
-PackageKit* # we switched to dnfdragora, so we don't need this
|
||||||
-aspell-* # dictionaries are big
|
-aspell-* # dictionaries are big
|
||||||
-xfce4-sensors-plugin
|
-xfce4-sensors-plugin
|
||||||
-foomatic-db-ppds
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
Reference in New Issue
Block a user