Просмотр исходного кода

build: add --force option to gzip in Build/gzip

When using pigz, a parallel gzip implementation, the gzip step in the
image build for some targets fails, because the image filename already
has the .gz extension. This results in an emtpy image file. Fix this by
adding the --force option to gzip in the Build/gzip macro.

Signed-off-by: Stijn Tintel <[email protected]>
Tested-by: Martin Schleier <[email protected]>
Stijn Tintel 7 лет назад
Родитель
Сommit
138c76332b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/image-commands.mk

+ 1 - 1
include/image-commands.mk

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