From: Christian Marangi Date: Tue, 22 Oct 2024 11:53:51 +0000 (+0200) Subject: imagebuilder: also remove vmlinuz initramfs image files X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9272728e3569a37546826f93976502433f9e4dce;p=openwrt%2Fstaging%2Fansuel.git imagebuilder: also remove vmlinuz initramfs image files Also remove vmlinuz-initramfs files from final imagebuilder image as these file are not needed. Fixes: c85348d9abf4 ("imagebuilder: remove initramfs image files") Signed-off-by: Christian Marangi --- diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 7127df5ebc..ecc791b8e9 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -114,6 +114,7 @@ endif rm -f $(IB_KDIR)/vmlinux.debug # remove any file for initramfs and Per Device Rootfs initramfs files rm -f $(IB_KDIR)/vmlinux-initramfs* + rm -f $(IB_KDIR)/vmlinuz-initramfs* rm -f $(IB_KDIR)/Image-initramfs* if [ -x $(LINUX_DIR)/scripts/dtc/dtc ]; then \ $(INSTALL_DIR) $(IB_LDIR)/scripts/dtc; \