From 8c2c5c5e19f94e1b5861962b91bb75aff21966bf Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 28 May 2013 01:44:45 -0500 Subject: [PATCH] add arm kickstarts TODO: add other desktop spins --- fedora-arm-base.ks | 42 ++++++++++++++++++++++++++++++++++++++++++ fedora-arm-lxde.ks | 10 ++++++++++ fedora-arm-minimal.ks | 17 +++++++++++++++++ fedora-arm-xbase.ks | 7 +++++++ fedora-arm-xfce.ks | 10 ++++++++++ 5 files changed, 86 insertions(+) create mode 100644 fedora-arm-base.ks create mode 100644 fedora-arm-lxde.ks create mode 100644 fedora-arm-minimal.ks create mode 100644 fedora-arm-xbase.ks create mode 100644 fedora-arm-xfce.ks diff --git a/fedora-arm-base.ks b/fedora-arm-base.ks new file mode 100644 index 0000000..86cea49 --- /dev/null +++ b/fedora-arm-base.ks @@ -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 + diff --git a/fedora-arm-lxde.ks b/fedora-arm-lxde.ks new file mode 100644 index 0000000..28a4a74 --- /dev/null +++ b/fedora-arm-lxde.ks @@ -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 diff --git a/fedora-arm-minimal.ks b/fedora-arm-minimal.ks new file mode 100644 index 0000000..8cf8b87 --- /dev/null +++ b/fedora-arm-minimal.ks @@ -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 + diff --git a/fedora-arm-xbase.ks b/fedora-arm-xbase.ks new file mode 100644 index 0000000..2c4b513 --- /dev/null +++ b/fedora-arm-xbase.ks @@ -0,0 +1,7 @@ +%packages +@base-x +@fonts +@input-methods +@multimedia +@printing +%end diff --git a/fedora-arm-xfce.ks b/fedora-arm-xfce.ks new file mode 100644 index 0000000..5923c6b --- /dev/null +++ b/fedora-arm-xfce.ks @@ -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