From 87bb3e857df43bed3842a629a8b246ff7f2b6b4b Mon Sep 17 00:00:00 2001 From: Steven Shiau Date: Fri, 8 Nov 2024 08:14:29 +0800 Subject: [PATCH] Extend Linux kernel file name by wildcard. Extend Linux kernel file name by wildcard, i.e., use vmlinu* to match either vmlinuz or vmlinuz. --- scripts/build/chroot_hacks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/chroot_hacks b/scripts/build/chroot_hacks index d16732a8c..361c578cb 100755 --- a/scripts/build/chroot_hacks +++ b/scripts/build/chroot_hacks @@ -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