diff options
| author | Serge Schneider <serge@raspberrypi.org> | 2016-11-21 18:00:51 +0000 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.org> | 2016-11-21 18:00:51 +0000 |
| commit | 09590eba4aa6b9a47e36288cc890f3361be0c783 (patch) | |
| tree | c41ce3c9f553376ae4ba136c0a88987aad22f0f8 | |
| parent | c4fb032d3b8e6113f4e2bc197442b01ed333968e (diff) | |
export-noobs: use bsdtar
| -rw-r--r-- | depends | 1 | ||||
| -rwxr-xr-x | export-noobs/prerun.sh | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -5,3 +5,4 @@ kpartx zerofree pxz zip mkdosfs:dosfstools capsh:libcap2-bin +bsdtar 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} |
