[openwrt/openwrt] bcm4908: rename bootfs dummy file to the 1-openwrt

LEDE Commits lede-commits at lists.infradead.org
Thu Apr 8 12:40:57 BST 2021


rmilecki pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/d91054a521de18e36ea1ff63ad63170876444dce

commit d91054a521de18e36ea1ff63ad63170876444dce
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Tue Apr 6 00:03:31 2021 +0200

    bcm4908: rename bootfs dummy file to the 1-openwrt
    
    The purpose of that dummy file is to make CFE work properly with OpenWrt
    bootfs. CFE for some reason ignores JFFS2 files with ino 0.
    
    Rename it to 1-openwrt so:
    1. It's consistent with bcm63xx
    2. It's OpenWrt specific so sysupgrade can distinguish it from vendor
       images
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
    (cherry picked from commit 880c8b44223c9cbce3dd14da78c33676c6f1a8a6)
---
 target/linux/bcm4908/image/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/bcm4908/image/Makefile b/target/linux/bcm4908/image/Makefile
index 59284d7b63..c7714ecf59 100644
--- a/target/linux/bcm4908/image/Makefile
+++ b/target/linux/bcm4908/image/Makefile
@@ -15,7 +15,7 @@ define Build/bcm4908img
 	rm -fr $@-bootfs
 	mkdir -p $@-bootfs
 	cp -r $(DEVICE_NAME)/* $@-bootfs/
-	touch $@-bootfs/1-dummy
+	touch $@-bootfs/1-openwrt
 	cp $(DTS_DIR)/$(firstword $(DEVICE_DTS)).dtb $@-bootfs/94908.dtb
 	cp $(KDIR)/bcm63xx-cfe/$(subst _,$(comma),$(DEVICE_NAME))/cferam.000 $@-bootfs/
 	cp $(IMAGE_KERNEL) $@-bootfs/vmlinux.lz



More information about the lede-commits mailing list