forked from srbala/fedora-kickstarts
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:
parent
4102c235d9
commit
c05c51325d
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user