1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-12-01 11:03:07 +00:00

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
This commit is contained in:
Kevin Fenzi 2016-03-25 12:36:19 -06:00
parent 4102c235d9
commit c05c51325d

View File

@ -56,7 +56,6 @@ aajohan-comfortaa-fonts
# Without this, initramfs generation during live image creation fails: #1242586 # Without this, initramfs generation during live image creation fails: #1242586
dracut-live dracut-live
dracut-config-generic dracut-config-generic
-dracut-config-rescue
grub2-efi grub2-efi
syslinux syslinux
@ -319,6 +318,10 @@ rm -f /var/lib/systemd/random-seed
echo 'File created by kickstart. See systemd-update-done.service(8).' \ echo 'File created by kickstart. See systemd-update-done.service(8).' \
| tee /etc/.updated >/var/.updated | 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 %end