From 9272728e3569a37546826f93976502433f9e4dce Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Tue, 22 Oct 2024 13:53:51 +0200 Subject: [PATCH] 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 --- target/imagebuilder/Makefile | 1 + 1 file changed, 1 insertion(+) 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; \ -- 2.30.2