mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
77 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a550d62548 | ||
|
|
7afda9537f | ||
|
|
7e4f164444 | ||
|
|
1cdbd3ef07 | ||
|
|
e640139976 | ||
|
|
fb34ac6186 | ||
|
|
03020f4a74 | ||
|
|
cd2ff0eea2 | ||
|
|
ee9e070d75 | ||
|
|
a769fe0a58 | ||
|
|
dbf41eb0b0 | ||
|
|
f086a341da | ||
|
|
9714319110 | ||
|
|
df302e6748 | ||
|
|
558f5c6315 | ||
|
|
f0fdf7c568 | ||
|
|
302f5ad386 | ||
|
|
e891c467f0 | ||
|
|
6105897461 | ||
|
|
d003cb2a7d | ||
|
|
f8593bceab | ||
|
|
6eab7f1b6a | ||
|
|
2264e6daa9 | ||
|
|
24e3e25f16 | ||
|
|
a4495045d0 | ||
|
|
17bed3db91 | ||
|
|
f4ee7648ad | ||
|
|
3992f9ca91 | ||
|
|
34a505db5c | ||
|
|
dc22ec46cb | ||
|
|
dec45f8d97 | ||
|
|
80d15bf8ba | ||
|
|
1ef06b2533 | ||
|
|
71fb82b5bc | ||
|
|
11a93ac029 | ||
|
|
4407d70045 | ||
|
|
ab8bfa2903 | ||
|
|
37bbc185a5 | ||
|
|
125b994038 | ||
|
|
d9a3ca9946 | ||
|
|
1016065d6b | ||
|
|
8c2a31f378 | ||
|
|
e1206f4b9b | ||
|
|
7f13b20e33 | ||
|
|
6226c24d43 | ||
|
|
b4d8fed0e8 | ||
|
|
de041f9852 | ||
|
|
7b9bef18d0 | ||
|
|
802b718d0d | ||
|
|
c4326802f6 | ||
|
|
fb5d41231c | ||
|
|
3d38aa7715 | ||
|
|
5b062b29c6 | ||
|
|
55890d6209 | ||
|
|
533fa0ccda | ||
|
|
c53c695e25 | ||
|
|
23af1c94df | ||
|
|
3ddd549ff7 | ||
|
|
92cbaff664 | ||
|
|
ef88d6ddbd | ||
|
|
8c971991de | ||
|
|
103d925e9b | ||
|
|
410101bd76 | ||
|
|
179a268857 | ||
|
|
ccc8847b19 | ||
|
|
eead7177ab | ||
|
|
b9fcda35df | ||
|
|
f4e8f1bb0a | ||
|
|
9199268aed | ||
|
|
26768920ec | ||
|
|
c254d4e73e | ||
|
|
17862cd969 | ||
|
|
454fed4a4c | ||
|
|
6da9e16e53 | ||
|
|
e8de8a9ce3 | ||
|
|
5d3551ec4c | ||
|
|
777c11480e |
23
README
Normal file
23
README
Normal file
@@ -0,0 +1,23 @@
|
||||
The master branch is where development takes place:
|
||||
- it may contain kickstart files that are broken, or
|
||||
- spin concepts that are in the process of being
|
||||
approved by the Board (trademark approval), or
|
||||
- spin concepts that are in the process of being
|
||||
approved by the Spins SIG
|
||||
|
||||
The release specific branches contain spin concepts that:
|
||||
- are approved (both by Board and Spin SIG)
|
||||
- maintained for the remainder of the release cycle
|
||||
|
||||
git clone ssh://git.fedorahosted.org/git/spin-kickstarts.git spin-kickstarts
|
||||
cd spin-kickstarts
|
||||
# If you need a specific branch other than master:
|
||||
git checkout BRANCHNAME
|
||||
# No tag has been added yet tag HEAD with
|
||||
git tag VERSION
|
||||
git push --tags
|
||||
make
|
||||
# Publish the released tar ball
|
||||
make publish
|
||||
# Clean up the generated files:
|
||||
make clean
|
||||
31
README.md
31
README.md
@@ -1,31 +0,0 @@
|
||||
# fedora-kickstarts #
|
||||
|
||||
This project is used to manage the Fedora kickstart files used in composing Fedora release images.
|
||||
|
||||
The master branch is used by rawhide and each release branch is used by that release.
|
||||
|
||||
All changes should be made via the PR workflow.
|
||||
|
||||
This project is packaged in Fedora as the spin-kickstarts package allowing users to see
|
||||
and modify the kickstart files for their local needs.
|
||||
|
||||
## To make a release ##
|
||||
|
||||
* git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
|
||||
* cd fedora-kickstarts
|
||||
* # If you need a specific branch other than master:
|
||||
* git checkout BRANCHNAME
|
||||
* # No tag has been added yet tag HEAD with
|
||||
* git tag VERSION
|
||||
* git push --tags
|
||||
* make
|
||||
* # Publish the released tar ball
|
||||
* make publish
|
||||
* # Clean up the generated files:
|
||||
* make clean
|
||||
|
||||
# bug reports #
|
||||
|
||||
Bugs should be reported to the spin-kickstarts bugzilla component:
|
||||
|
||||
https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=spin-kickstarts
|
||||
@@ -4,5 +4,5 @@
|
||||
<%page args="ostree_osname, ostree_ref"/>
|
||||
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=${ostree_osname} --remote=${ostree_osname} --url=file:////run/install/repo/content/repo --ref=${ostree_ref}\n"
|
||||
append usr/share/anaconda/interactive-defaults.ks "services --disabled cloud-init,cloud-config,cloud-final,cloud-init-local\n"
|
||||
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\nostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\n%end\n"
|
||||
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\nostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/24/'\n%end\n"
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ selinux --permissive
|
||||
firewall --disabled
|
||||
bootloader --timeout=1 --append="acpi=force"
|
||||
network --bootproto=dhcp --device=eth0 --onboot=on
|
||||
services --enabled=network
|
||||
|
||||
# Uncomment the next line
|
||||
# to make the root password be thincrust
|
||||
@@ -94,9 +95,5 @@ generic-logos
|
||||
#
|
||||
%post
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -7,15 +7,14 @@ firewall --enabled --service=mdns,ssh
|
||||
# configure extlinux bootloader
|
||||
bootloader extlinux
|
||||
|
||||
part /boot/fw --size=30 --fstype vfat --asprimary
|
||||
part /boot --size=512 --fstype ext4 --asprimary
|
||||
part swap --size=512 --fstype swap --asprimary
|
||||
part / --size=3584 --fstype ext4 --asprimary
|
||||
part /boot --size=512 --fstype ext4
|
||||
part swap --size=512 --fstype swap
|
||||
part / --size=3584 --fstype ext4
|
||||
|
||||
# make sure that initial-setup runs and lets us do all the configuration bits
|
||||
firstboot --reconfig
|
||||
|
||||
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
|
||||
services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup --disabled=network
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
@@ -29,10 +28,9 @@ kernel
|
||||
dracut-config-generic
|
||||
# install tools needed to manage and boot arm systems
|
||||
@arm-tools
|
||||
rng-tools
|
||||
|
||||
chrony
|
||||
extlinux-bootloader
|
||||
bcm283x-firmware
|
||||
initial-setup
|
||||
initial-setup-gui
|
||||
#lets resize / on first boot
|
||||
@@ -41,26 +39,13 @@ initial-setup-gui
|
||||
# remove this in %post
|
||||
dracut-config-generic
|
||||
|
||||
|
||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||
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
|
||||
|
||||
%post
|
||||
|
||||
# Setup Raspberry Pi firmware
|
||||
cp -Pr /usr/share/bcm283x-firmware/* /boot/fw/
|
||||
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
|
||||
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
|
||||
sed -i '/vfat/ d' /etc/fstab
|
||||
|
||||
# work around for poor key import UI in PackageKit
|
||||
rm -f /var/lib/rpm/__db*
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
@@ -81,13 +66,5 @@ systemctl mask tmp.mount
|
||||
|
||||
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
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -5,5 +5,8 @@
|
||||
part / --size=5632 --fstype ext4
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -3,5 +3,8 @@
|
||||
%include fedora-lxde-packages.ks
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -5,5 +5,8 @@
|
||||
part / --size=5500 --fstype ext4
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
%include fedora-arm-base.ks
|
||||
|
||||
part /boot --size=512 --fstype ext4
|
||||
part swap --size=256 --fstype swap
|
||||
part / --size=1279 --fstype ext4
|
||||
|
||||
|
||||
@@ -2,104 +2,9 @@
|
||||
%include fedora-arm-xbase.ks
|
||||
%include fedora-soas-packages.ks
|
||||
|
||||
firewall --enabled --service=mdns,presence
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
# Rebuild initrd for Sugar boot screen
|
||||
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||
/usr/sbin/plymouth-set-default-theme sugar
|
||||
/sbin/dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
|
||||
|
||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||
rm -f /var/lib/rpm/__db*
|
||||
|
||||
# Get proper release naming in the control panel
|
||||
cat >> /boot/olpc_build << EOF
|
||||
Sugar on a Stick
|
||||
EOF
|
||||
cat /etc/fedora-release >> /boot/olpc_build
|
||||
|
||||
# Add our activities to the favorites
|
||||
cat > /usr/share/sugar/data/activities.defaults << EOF
|
||||
org.laptop.WebActivity
|
||||
org.laptop.HelpActivity
|
||||
org.laptop.Chat
|
||||
org.laptop.sugar.ReadActivity
|
||||
org.laptop.sugar.GetBooksActivity
|
||||
org.laptop.AbiWordActivity
|
||||
org.laptop.TurtleArtActivity
|
||||
org.laptop.Calculate
|
||||
org.laptop.Clock
|
||||
org.laptop.ImageViewerActivity
|
||||
org.laptop.Memorize
|
||||
org.laptop.physics
|
||||
org.laptop.Pippy
|
||||
org.laptop.RecordActivity
|
||||
org.laptop.Oficina
|
||||
org.laptop.StopWatchActivity
|
||||
org.laptop.community.Finance
|
||||
org.laptop.community.TypingTurtle
|
||||
org.laptop.sugar.Jukebox
|
||||
org.laptop.Words
|
||||
org.eq.FotoToon
|
||||
org.gnome.Labyrinth
|
||||
com.laptop.Ruler
|
||||
org.sugarlabs.AbacusActivity
|
||||
org.sugarlabs.IRC
|
||||
org.sugarlabs.InfoSlicer
|
||||
org.sugarlabs.PortfolioActivity
|
||||
org.sugarlabs.StoryActivity
|
||||
org.sugarlabs.VisualMatchActivity
|
||||
com.garycmartin.Moon
|
||||
mulawa.Countries
|
||||
tv.alterna.Clock
|
||||
vu.lux.olpc.Maze
|
||||
vu.lux.olpc.Speak
|
||||
EOF
|
||||
|
||||
cat > /etc/sysconfig/desktop <<EOF
|
||||
PREFERRED=/usr/bin/sugar
|
||||
DISPLAYMANAGER=/usr/sbin/lightdm
|
||||
EOF
|
||||
|
||||
# set up lightdm autologin
|
||||
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||
# set Sugar as default session, otherwise login will fail
|
||||
sed -i 's/^#user-session=.*/user-session=sugar/' /etc/lightdm/lightdm.conf
|
||||
|
||||
# Don't use the default system user (in SoaS liveuser) as nick name
|
||||
# Disable the logout menu item in Sugar
|
||||
# Enable Sugar power management
|
||||
cat >/usr/share/glib-2.0/schemas/sugar.soas.gschema.override <<EOF
|
||||
[org.sugarlabs.user]
|
||||
default-nick='disabled'
|
||||
|
||||
[org.sugarlabs]
|
||||
show-logout=false
|
||||
|
||||
[org.sugarlabs.power]
|
||||
automatic=true
|
||||
EOF
|
||||
|
||||
# disable screensaver locking
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
|
||||
[org.gnome.desktop.screensaver]
|
||||
lock-enabled=false
|
||||
FOE
|
||||
|
||||
# and hide the lock screen option
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.override << FOE
|
||||
[org.gnome.desktop.lockdown]
|
||||
disable-lock-screen=true
|
||||
FOE
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
%end
|
||||
|
||||
@@ -10,8 +10,3 @@ part / --size=5500 --fstype ext4
|
||||
|
||||
%end
|
||||
|
||||
%post
|
||||
# Most of the ARM X accelerated drivers need some level of CMA allocation
|
||||
sed -i 's/\(append .*\)/\1 cma=256MB/' /boot/extlinux/extlinux.conf
|
||||
|
||||
%end
|
||||
|
||||
@@ -6,11 +6,3 @@
|
||||
@printing
|
||||
%end
|
||||
|
||||
%post
|
||||
# Most of the ARM X accelerated drivers need some level of CMA allocation
|
||||
sed -i 's/\(append .*\)/\1 cma=192MB/' /boot/extlinux/extlinux.conf
|
||||
|
||||
# Explicitly set graphical.target as default as this is how initial-setup detects which version to run
|
||||
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
|
||||
|
||||
%end
|
||||
|
||||
@@ -5,5 +5,8 @@
|
||||
part / --size=4000 --fstype ext4
|
||||
|
||||
%post
|
||||
echo -n "Enabling initial-setup gui mode on startup"
|
||||
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
|
||||
echo .
|
||||
|
||||
%end
|
||||
|
||||
@@ -18,10 +18,11 @@ user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0"
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
services --disabled=network
|
||||
services --enabled=sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
@@ -32,14 +33,14 @@ volgroup atomicos pv.01
|
||||
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
|
||||
|
||||
# Equivalent of %include fedora-repo.ks
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/25/ --ref=fedora-atomic/25/x86_64/docker-host
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/atomic/24/ --ref=fedora-atomic/24/x86_64/docker-host
|
||||
|
||||
reboot
|
||||
|
||||
%post --erroronfail
|
||||
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
||||
ostree remote delete fedora-atomic
|
||||
ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/'
|
||||
ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/24/'
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
@@ -121,15 +122,8 @@ 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://fedorahosted.org/cloud/ticket/128
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
||||
|
||||
echo "Adding Developer Mode GRUB2 menu item."
|
||||
/usr/libexec/atomic-devmode/bootentry add
|
||||
|
||||
# enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ network --bootproto=dhcp --device=link --activate
|
||||
part / --fstype="ext4" --size=6000
|
||||
part /boot --size=500 --fstype="ext4"
|
||||
shutdown
|
||||
services --disabled=docker-storage-setup
|
||||
services --disabled=docker-storage-setup,network
|
||||
services --enabled=NetworkManager,sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/22/ --ref=fedora-atomic/f22/x86_64/docker-host
|
||||
@@ -28,9 +28,4 @@ userdel -r none
|
||||
# We copy content of separate /boot partition to root part when building live squashfs image,
|
||||
# and we don't want systemd to try to mount it when pxe booting
|
||||
cat /dev/null > /etc/fstab
|
||||
|
||||
# Disable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network off
|
||||
|
||||
%end
|
||||
|
||||
@@ -39,17 +39,11 @@ firewall --disabled
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
#
|
||||
# We need to disable 64bit options here or extlinux won't work.
|
||||
# See: http://www.syslinux.org/wiki/index.php/Filesystem#ext4
|
||||
# and
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1369934
|
||||
#
|
||||
part / --fstype ext4 --grow --mkfsoptions="-O ^64bit"
|
||||
part / --fstype ext4 --grow
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
@@ -253,6 +247,7 @@ rm -f /var/lib/rpm/__db*
|
||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||
|
||||
|
||||
# FIXME: is this still needed?
|
||||
echo "Fixing SELinux contexts."
|
||||
touch /var/log/cron
|
||||
@@ -270,13 +265,5 @@ echo "(Don't worry -- that out-of-space error was expected.)"
|
||||
# For trac ticket https://fedorahosted.org/cloud/ticket/128
|
||||
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ firewall --disabled
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
@@ -219,9 +219,5 @@ 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.)"
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ firewall --disabled
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
@@ -211,9 +211,5 @@ 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.)"
|
||||
|
||||
# Enable network service here, as doing it in the services line
|
||||
# fails due to RHBZ #1369794
|
||||
/sbin/chkconfig network on
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ reboot
|
||||
|
||||
%packages --excludedocs --instLangs=en --nocore
|
||||
bash
|
||||
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
|
||||
fedora-release
|
||||
rootfiles
|
||||
vim-minimal
|
||||
@@ -43,9 +44,6 @@ sssd-client
|
||||
%end
|
||||
|
||||
%post --log=/tmp/anaconda-post.log
|
||||
|
||||
set -e
|
||||
|
||||
# Set the language rpm nodocs transaction flag persistently in the
|
||||
# image yum.conf and rpm macros
|
||||
|
||||
@@ -71,7 +69,6 @@ releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
basearch=$(uname -i)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||
|
||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
||||
rm -f /usr/lib/locale/locale-archive
|
||||
|
||||
#Setup locale properly
|
||||
@@ -87,8 +84,6 @@ systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connec
|
||||
umount /run
|
||||
systemd-tmpfiles --create --boot
|
||||
|
||||
# Remove machine-id on pre generated images
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
@@ -66,27 +66,16 @@ python3-ipython-notebook
|
||||
python3-sympy
|
||||
python3-networkx
|
||||
python3-pandas
|
||||
python3-pillow
|
||||
python3-seaborn
|
||||
python3-statsmodels
|
||||
python3-scikit-learn
|
||||
python3-scikit-image
|
||||
# Python 3 astronomy
|
||||
astropy-tools
|
||||
ginga
|
||||
python3-astropy
|
||||
python3-astroML
|
||||
python3-astroML-addons
|
||||
python3-astroquery
|
||||
python3-astroscrappy
|
||||
python3-APLpy
|
||||
python3-ATpy
|
||||
python3-ccdproc
|
||||
python3-fitsio
|
||||
python3-gatspy
|
||||
python3-photutils
|
||||
python3-pyvo
|
||||
python3-reproject
|
||||
python3-sep
|
||||
|
||||
# matplotlib backends
|
||||
|
||||
@@ -17,7 +17,7 @@ xconfig --startxonboot
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --size 5120 --fstype ext4
|
||||
services --enabled=NetworkManager,ModemManager --disabled=sshd
|
||||
services --enabled=NetworkManager,ModemManager --disabled=network,sshd
|
||||
network --bootproto=dhcp --device=link --activate
|
||||
shutdown
|
||||
|
||||
@@ -214,9 +214,7 @@ touch /.liveimg-configured
|
||||
|
||||
# add static hostname to work around xauth bug
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||
# the hostname must be something else than 'localhost'
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
||||
echo "localhost-live" > /etc/hostname
|
||||
echo "localhost" > /etc/hostname
|
||||
|
||||
EOF
|
||||
|
||||
@@ -323,14 +321,6 @@ echo 'File created by kickstart. See systemd-update-done.service(8).' \
|
||||
# See bug 1317709
|
||||
rm -f /boot/*-rescue*
|
||||
|
||||
# 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
|
||||
rm -f /etc/machine-id
|
||||
touch /etc/machine-id
|
||||
|
||||
%end
|
||||
|
||||
|
||||
@@ -342,5 +332,4 @@ if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
|
||||
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
|
||||
fi
|
||||
|
||||
%end
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# fedora-design-suite.ks
|
||||
# Based on Live Workstation
|
||||
# Description:
|
||||
# - A collection of applications targeted towards professional visual designers
|
||||
# - A Spin targeted towards professional designers
|
||||
# Website: http://fedoraproject.org/wiki/Design_Suite
|
||||
# Maintainer:
|
||||
# Maintainers:
|
||||
# - Luya Tshimbalanga <luya AT fedoraproject DOT org>
|
||||
# - Credit to Sebastian Dziallas for initiating the project
|
||||
# - Previous maintainer Sebastian Dziallas
|
||||
|
||||
%include fedora-live-workstation.ks
|
||||
|
||||
@@ -16,46 +16,17 @@ part / --size 14336
|
||||
# Switch to groups for design suite
|
||||
@design-suite
|
||||
|
||||
# Added addons to address rhbz#1336879 from dnf
|
||||
gimp-data-extras
|
||||
gimp-dbp
|
||||
gimp-dds-plugin
|
||||
gimp-elsamuko
|
||||
gimp-fourier-plugin
|
||||
gimp-gap
|
||||
gimp-help
|
||||
gimp-help-browser
|
||||
gimp-high-pass-filter
|
||||
gimp-layer-via-copy-cut
|
||||
gimp-lensfun
|
||||
gimp-lqr-plugin
|
||||
gimp-normalmap
|
||||
gimp-paint-studio
|
||||
gimp-resynthesizer
|
||||
gimp-save-for-web
|
||||
gimp-separate+
|
||||
gimp-wavelet-denoise-plugin
|
||||
gimpfx-foundry
|
||||
gmic-gimp
|
||||
inkscape-psd
|
||||
inkscape-sozi
|
||||
inkscape-table
|
||||
#LuxRender-blender Comment that line because i86 support is no longer available
|
||||
sane-backends-drivers-scanners
|
||||
xsane-gimp
|
||||
#YafaRay-blender
|
||||
|
||||
# Add extra gnome applications
|
||||
gnome-books
|
||||
gnome-calendar
|
||||
# Preview Gnome Photos
|
||||
gnome-photos
|
||||
|
||||
# Add gthumb for renaming group files
|
||||
gthumb
|
||||
|
||||
# Extra wallpapers
|
||||
f23-backgrounds-extras-base
|
||||
f23-backgrounds-extras-gnome
|
||||
f24-backgrounds-extras-base
|
||||
f24-backgrounds-extras-gnome
|
||||
f25-backgrounds-extras-base
|
||||
f25-backgrounds-extras-gnome
|
||||
|
||||
|
||||
# removal of unneeded applications
|
||||
-gnome-boxes
|
||||
@@ -68,7 +39,7 @@ f25-backgrounds-extras-gnome
|
||||
#Override the favorite desktop application in Dash
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||
[org.gnome.shell]
|
||||
favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
|
||||
favorite-apps=['firefox.desktop', 'gnome-photos.desktop', 'gimp.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
|
||||
FOE
|
||||
|
||||
# Add link to lists of tutorials
|
||||
|
||||
@@ -45,14 +45,14 @@ extremetuxracer
|
||||
freeciv
|
||||
freecol
|
||||
freedoom
|
||||
freedroidrpg
|
||||
# freedroidrpg cut for size
|
||||
frozen-bubble
|
||||
gl-117
|
||||
glob2
|
||||
lincity-ng
|
||||
tmw
|
||||
#maniadrive - maniadrive isn't building with php7
|
||||
#maniadrive-music
|
||||
maniadrive
|
||||
maniadrive-music
|
||||
megaglest
|
||||
nethack-vultures
|
||||
netpanzer
|
||||
@@ -60,13 +60,13 @@ netpanzer
|
||||
nogravity
|
||||
#pinball # Would pull in fluid-soundfont-lite-patches
|
||||
scorched3d
|
||||
# supertux # Crashing
|
||||
supertux
|
||||
#supertuxkart #remove for size
|
||||
ultimatestunts
|
||||
warzone2100
|
||||
wesnoth
|
||||
# worminator # Would pull in fluid-soundfont-lite-patches
|
||||
warmux
|
||||
# warmux - Cut for size
|
||||
xmoto
|
||||
|
||||
# traditional (small)
|
||||
|
||||
@@ -108,6 +108,7 @@ ladspa-vco-plugins
|
||||
#lv2 plugins
|
||||
lv2
|
||||
lv2-avw-plugins
|
||||
lv2-fil-plugins
|
||||
lv2-invada-plugins
|
||||
lv2-kn0ck0ut
|
||||
lv2-ll-plugins
|
||||
|
||||
@@ -30,7 +30,7 @@ part / --size=6144
|
||||
k3b # ~15 megs
|
||||
#kdeartwork # only include some parts of kdeartwork
|
||||
fuse
|
||||
mediawriter
|
||||
liveusb-creator
|
||||
|
||||
# only include kdegames-minimal
|
||||
-kdegames
|
||||
|
||||
@@ -133,9 +133,9 @@ backintime-kde
|
||||
libotf
|
||||
|
||||
#root
|
||||
#root
|
||||
#root-gui-fitpanel
|
||||
#root-python
|
||||
root
|
||||
root-gui-fitpanel
|
||||
root-python
|
||||
|
||||
#Multiple jobs/clustering system
|
||||
# torque
|
||||
|
||||
@@ -76,8 +76,6 @@ EOF
|
||||
# set up lightdm autologin
|
||||
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||
# set Sugar as default session, otherwise login will fail
|
||||
sed -i 's/^#user-session=.*/user-session=sugar/' /etc/lightdm/lightdm.conf
|
||||
|
||||
# Don't use the default system user (in SoaS liveuser) as nick name
|
||||
# Disable the logout menu item in Sugar
|
||||
@@ -92,6 +90,19 @@ show-logout=false
|
||||
[org.sugarlabs.power]
|
||||
automatic=true
|
||||
EOF
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
# set up lightdm autologin
|
||||
sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
|
||||
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
|
||||
|
||||
# set Sugar as default session, otherwise login will fail
|
||||
sed -i 's/^#user-session=.*/user-session=sugar/' /etc/lightdm/lightdm.conf
|
||||
EOF
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys-late << EOF
|
||||
|
||||
# disable screensaver locking
|
||||
cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
|
||||
@@ -106,7 +117,12 @@ disable-lock-screen=true
|
||||
FOE
|
||||
|
||||
# rebuild schema cache with any overrides we installed
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
|
||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
|
||||
EOF
|
||||
|
||||
chmod 755 /etc/rc.d/init.d/livesys-late
|
||||
/sbin/restorecon /etc/rc.d/init.d/livesys-late
|
||||
/sbin/chkconfig --add livesys-late
|
||||
|
||||
%end
|
||||
|
||||
@@ -4,11 +4,7 @@
|
||||
|
||||
%include fedora-live-base.ks
|
||||
%include fedora-workstation-packages.ks
|
||||
#
|
||||
# Disable this for now to see if packagekit is causing
|
||||
# compose failures by leaving a gpg-agent around holding /dev/null open.
|
||||
#
|
||||
#include snippets/packagekit-cached-metadata.ks
|
||||
%include snippets/packagekit-cached-metadata.ks
|
||||
|
||||
part / --size 6656
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ caja-actions
|
||||
mate-disk-usage-analyzer
|
||||
|
||||
# more backgrounds
|
||||
f25-backgrounds-base
|
||||
f25-backgrounds-mate
|
||||
f24-backgrounds-base
|
||||
f24-backgrounds-mate
|
||||
f24-backgrounds-extras-base
|
||||
|
||||
# system tools
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
-ibus*
|
||||
-hyperv-daemons
|
||||
-webkitgtk4-plugin-process-gtk2
|
||||
webkitgtk3
|
||||
|
||||
# Add some extra fonts
|
||||
dejavu-sans-fonts
|
||||
|
||||
Reference in New Issue
Block a user