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 c4326802f6
commit 802b718d0d

View File

@ -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