From c05c51325de8736db8080874654f14d1b96a78d5 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 25 Mar 2016 12:36:19 -0600 Subject: [PATCH] Allow dracut-config-rescue to be installed so installed systems have a rescue kernel. Also remove the rescue kernel and initramfs on the live itself. Fixes bug #1317709 --- fedora-live-base.ks | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fedora-live-base.ks b/fedora-live-base.ks index e28b3dc..dd7a102 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -56,7 +56,6 @@ aajohan-comfortaa-fonts # Without this, initramfs generation during live image creation fails: #1242586 dracut-live dracut-config-generic --dracut-config-rescue grub2-efi syslinux @@ -319,6 +318,10 @@ rm -f /var/lib/systemd/random-seed echo 'File created by kickstart. See systemd-update-done.service(8).' \ | tee /etc/.updated >/var/.updated +# Drop the rescue kernel and initramfs, we don't need them on the live media itself. +# See bug 1317709 +rm -f /boot/*-rescue* + %end