summaryrefslogtreecommitdiffstats
path: root/rules/image-root-ext.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-03-17 20:43:41 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-19 07:00:18 +0100
commit8875f1154781e096e9ea6b6d41128d1a901f6822 (patch)
treeb130d51b5cc2aebc9a183f73820d85a5199c96b0 /rules/image-root-ext.make
parentf799ce54ab8fb71706e2be3edbe3fe2a437de59c (diff)
downloadptxdist-8875f1154781e096e9ea6b6d41128d1a901f6822.tar.gz
ptxdist-8875f1154781e096e9ea6b6d41128d1a901f6822.tar.xz
image-root-ext: ignore tar errors
'tar' is also called during the cfghash stage. The input tarball may not exist at that point. This can be ignored because the whole thing is evaluated again later when the file exists. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/image-root-ext.make')
-rw-r--r--rules/image-root-ext.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/image-root-ext.make b/rules/image-root-ext.make
index 20a417fbd..e64ae7010 100644
--- a/rules/image-root-ext.make
+++ b/rules/image-root-ext.make
@@ -31,7 +31,7 @@ IMAGE_ROOT_EXT_ENV = EXT_TYPE=$(PTXCONF_IMAGE_ROOT_EXT_TYPE)
ifeq ($(filter %%,$(IMAGE_ROOT_EXT_SIZE)),)
IMAGE_ROOT_EXT_ENV += SIZE=$(PTXCONF_IMAGE_ROOT_EXT_SIZE)
else
-IMAGE_ROOT_EXT_BASE := $$(tar -xOf $(IMAGE_ROOT_EXT_FILES) | wc -c)
+IMAGE_ROOT_EXT_BASE := $$(tar -xOf $(IMAGE_ROOT_EXT_FILES) 2>/dev/null | wc -c)
# 80 seems to be a good number to take fs overhead into account
IMAGE_ROOT_EXT_SCALE := $(subst %,,$(IMAGE_ROOT_EXT_SIZE))/80/1024/1024
IMAGE_ROOT_EXT_ENV += \