[openwrt/openwrt] imagebuilder: also remove vmlinuz initramfs image files

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 22 04:55:30 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/9272728e3569a37546826f93976502433f9e4dce

commit 9272728e3569a37546826f93976502433f9e4dce
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Tue Oct 22 13:53:51 2024 +0200

    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 <ansuelsmth at gmail.com>
---
 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; \




More information about the lede-commits mailing list