Browse Source

build: use busybox gzip compatible force option

commit 138c763 ("build: add --force option to gzip in Build/gzip")
added the --force flag to the gzip invocation.

Under environments with busybox gzip (e.g Alpine Linux), this fails
as busybox only recognizes "-f".

Signed-off-by: Mathew McBride <[email protected]>
Mathew McBride 7 years ago
parent
commit
fba168f574
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/image-commands.mk

+ 1 - 1
include/image-commands.mk

@@ -135,7 +135,7 @@ define Build/lzma-no-dict
 endef
 
 define Build/gzip
-	gzip --force -9n -c $@ $(1) > [email protected]
+	gzip -f -9n -c $@ $(1) > [email protected]
 	@mv [email protected] $@
 endef