[Fedora-spins] [spin-kickstarts] install dracut-config-generic on arm images to get a generic initramfs remove it in %post so updates

Dennis Gilmore ausil at fedoraproject.org
Thu Oct 17 02:59:45 UTC 2013


commit 6aa8533f0e92ff46ad7952e5cbd11458bad3d7fa
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Wed Oct 16 21:58:04 2013 -0500

    install dracut-config-generic on arm images to get a generic initramfs
    remove it in %post so updates get host only initramfs's

 fedora-arm-base.ks |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/fedora-arm-base.ks b/fedora-arm-base.ks
index 42a3241..99b5ad3 100644
--- a/fedora-arm-base.ks
+++ b/fedora-arm-base.ks
@@ -32,6 +32,9 @@ initial-setup
 #lets resize / on first boot
 dracut-modules-growroot
 
+# remove this in %post
+dracut-config-generic
+
 # install uboot images
 uboot-beagle
 uboot-beaglebone
@@ -53,5 +56,8 @@ echo "Disabling tmpfs for /tmp."
 systemctl mask tmp.mount
 
 /usr/sbin/a-b-c
+
+yum -y remove dracut-config-generic
+
 %end
 


More information about the spins mailing list