commit c05c51325de8736db8080874654f14d1b96a78d5 Author: Kevin Fenzi kevin@scrye.com Date: Fri Mar 25 12:36:19 2016 -0600
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 files changed, 4 insertions(+), 1 deletions(-) --- 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