diff options
author | Mathew McBride <matt@traverse.com.au> | 2018-03-28 13:34:52 +1100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-18 21:31:30 +0200 |
commit | 97cb9d04eed0715f508f8dae91b56530f163adc3 (patch) | |
tree | f915a3a34fa1088f7aceb2dcb48a79ab5ca817a8 /include/image-commands.mk | |
parent | 8af649756f92d956a4c418bbd1817954cffa4ef5 (diff) | |
download | upstream-97cb9d04eed0715f508f8dae91b56530f163adc3.tar.gz upstream-97cb9d04eed0715f508f8dae91b56530f163adc3.tar.bz2 upstream-97cb9d04eed0715f508f8dae91b56530f163adc3.zip |
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 <matt@traverse.com.au>
(cherry picked from commit fba168f5745acac95db519a9984b62e3e508df6a)
Diffstat (limited to 'include/image-commands.mk')
-rw-r--r-- | include/image-commands.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk index 1d8ccedd69..4d3f025b12 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -135,7 +135,7 @@ define Build/lzma-no-dict endef define Build/gzip - gzip --force -9n -c $@ $(1) > $@.new + gzip -f -9n -c $@ $(1) > $@.new @mv $@.new $@ endef |