[openwrt/openwrt] gemini: Use absolute paths for tools

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 5 18:50:36 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/0852d814f0157f780e9309369cf2996fd86b951b

commit 0852d814f0157f780e9309369cf2996fd86b951b
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Oct 5 15:05:50 2024 +0200

    gemini: Use absolute paths for tools
    
    Use the absolute path to access the e2fsprogs applications. It is also
    working with relative paths, but this makes sure that we use our
    versions.
    
    Link: https://github.com/openwrt/openwrt/pull/16607
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/gemini/image/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile
index 3ddb6e5554..819291ef7f 100644
--- a/target/linux/gemini/image/Makefile
+++ b/target/linux/gemini/image/Makefile
@@ -55,8 +55,8 @@ define Build/dns313-images
 		--root $@.tmp $@.tmp-boot
 
 	# The device firmware needs revision 1 of EXT2
-	tune2fs -O filetype $@.tmp-boot
-	e2fsck -pDf $@.tmp-boot > /dev/null
+	$(STAGING_DIR_HOST)/bin/tune2fs -O filetype $@.tmp-boot
+	$(STAGING_DIR_HOST)/bin/e2fsck -pDf $@.tmp-boot > /dev/null
 
 	./dns313_gen_hdd_img.sh $@ $@.tmp-boot $(IMAGE_ROOTFS) \
 		$(CONFIG_TARGET_KERNEL_PARTSIZE) \




More information about the lede-commits mailing list