summaryrefslogtreecommitdiff
path: root/export-noobs
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.org>2016-11-21 18:00:51 +0000
committerSerge Schneider <serge@raspberrypi.org>2016-11-21 18:00:51 +0000
commit09590eba4aa6b9a47e36288cc890f3361be0c783 (patch)
treec41ce3c9f553376ae4ba136c0a88987aad22f0f8 /export-noobs
parentc4fb032d3b8e6113f4e2bc197442b01ed333968e (diff)
export-noobs: use bsdtar
Diffstat (limited to 'export-noobs')
-rwxr-xr-xexport-noobs/prerun.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/export-noobs/prerun.sh b/export-noobs/prerun.sh
index 6065ae8..60d51a9 100755
--- a/export-noobs/prerun.sh
+++ b/export-noobs/prerun.sh
@@ -19,7 +19,7 @@ mkdir -p ${NOOBS_DIR}
mount $ROOT_DEV ${STAGE_WORK_DIR}/rootfs
mount $BOOT_DEV ${STAGE_WORK_DIR}/rootfs/boot
-tar -I pxz -C ${STAGE_WORK_DIR}/rootfs/boot -cpf ${NOOBS_DIR}/boot.tar.xz .
-tar -I pxz -C ${STAGE_WORK_DIR}/rootfs --one-file-system -cpf ${NOOBS_DIR}/root.tar.xz .
+bsdtar --use-compress-program pxz -C ${STAGE_WORK_DIR}/rootfs/boot -cpf ${NOOBS_DIR}/boot.tar.xz .
+bsdtar --use-compress-program pxz -C ${STAGE_WORK_DIR}/rootfs --one-file-system -cpf ${NOOBS_DIR}/root.tar.xz .
unmount_image ${IMG_FILE}