[Fedora-spins] [spin-kickstarts/f19] add arm kickstarts

Dennis Gilmore ausil at fedoraproject.org
Tue May 28 06:48:08 UTC 2013


commit 1358b1f7d75b7733f44bbcbbc39406246e593227
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Tue May 28 01:44:45 2013 -0500

    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(+), 0 deletions(-)
---
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
+ at core
+ at standard
+ at hardware-support
+ at 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 @@
+ at 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
+ at base-x
+ at fonts
+ at input-methods
+ at multimedia
+ at 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


More information about the spins mailing list