Extend Linux kernel file name by wildcard.
Extend Linux kernel file name by wildcard, i.e., use vmlinu* to match either vmlinuz or vmlinuz.
This commit is contained in:
parent
54395accc7
commit
87bb3e857d
@ -74,7 +74,7 @@ case "${LB_INITRAMFS}" in
|
||||
rm -f chroot/etc/dracut.conf.d/20-live-module-${SOURCE_DATE_EPOCH}.conf
|
||||
;;
|
||||
esac
|
||||
rm -f chroot/vmlinuz.old
|
||||
rm -f chroot/vmlinu*.old
|
||||
rm -f chroot/initrd.img.old
|
||||
rm -f chroot/initrd.img_has_already_been_regenerated
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user