add arm kickstarts

TODO: add other desktop spins
This commit is contained in:
Dennis Gilmore 2013-05-28 01:44:45 -05:00
parent 282c3621ba
commit 8c2c5c5e19
5 changed files with 86 additions and 0 deletions

42
fedora-arm-base.ks Normal file
View File

@ -0,0 +1,42 @@
lang en_US.UTF-8
#keyboard us
auth --useshadow --enablemd5
selinux --enforcing
firewall --enabled --service=mdns,ssh
bootloader --location=none
part /boot --size=512 --fstype ext3
part swap --size=512 --fstype swap
part / --grow --size=6500 --fstype ext4
services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=network
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
#repo --name=updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
%packages
@core
@standard
@hardware-support
@dial-up
kernel
kernel-lpae
kernel-tegra
chrony
arm-boot-config
initial-setup
%end
%post
# Because memory is scarce resource in most arm systems we are differing from the Fedora
# default of having /tmp on tmpfs.
echo "Disabling tmpfs for /tmp."
systemctl mask tmp.mount
/usr/sbin/a-b-c
%end

10
fedora-arm-lxde.ks Normal file
View File

@ -0,0 +1,10 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%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

17
fedora-arm-minimal.ks Normal file
View File

@ -0,0 +1,17 @@
@include fedora-arm-base.ks
%post
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
echo -n "Enabling initial-setup text mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-text.service /etc/systemd/system/multi-user.target.wants/initial-setup-text.service
echo .
%end

7
fedora-arm-xbase.ks Normal file
View File

@ -0,0 +1,7 @@
%packages
@base-x
@fonts
@input-methods
@multimedia
@printing
%end

10
fedora-arm-xfce.ks Normal file
View File

@ -0,0 +1,10 @@
%include fedora-arm-base.ks
%include fedora-arm-xbase.ks
%include fedora-xfce-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