[openwrt/openwrt] image-commands.mk: Be consistent in command invocation

LEDE Commits lede-commits at lists.infradead.org
Wed Dec 21 15:48:26 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/fcff234fd89e8b24aa3ad2f352ddbb5304c38dc1

commit fcff234fd89e8b24aa3ad2f352ddbb5304c38dc1
Author: Olliver Schinagl <oliver at schinagl.nl>
AuthorDate: Wed Dec 14 11:39:17 2022 +0100

    image-commands.mk: Be consistent in command invocation
    
    Most/all other tools use the staging dir prefix, gzip should as well.
    
    Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>
    Acked-by: Christian Marangi <ansuelsmth at gmail.com>
    (cherry picked from commit 47df168dd279d52127f6bbc623e79bdeeb6c8fd4)
---
 include/image-commands.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image-commands.mk b/include/image-commands.mk
index 402e3d71ed..b4e1a67342 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -298,7 +298,7 @@ define Build/fit
 endef
 
 define Build/gzip
-	gzip -f -9n -c $@ $(1) > $@.new
+	$(STAGING_DIR_HOST)/bin/gzip -f -9n -c $@ $(1) > $@.new
 	@mv $@.new $@
 endef
 




More information about the lede-commits mailing list