export-noobs: use gnutar format for bsdtar
This commit is contained in:
parent
b84399f9aa
commit
845496123b
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ mkdir -p ${NOOBS_DIR}
|
||||||
mount $ROOT_DEV ${STAGE_WORK_DIR}/rootfs
|
mount $ROOT_DEV ${STAGE_WORK_DIR}/rootfs
|
||||||
mount $BOOT_DEV ${STAGE_WORK_DIR}/rootfs/boot
|
mount $BOOT_DEV ${STAGE_WORK_DIR}/rootfs/boot
|
||||||
|
|
||||||
bsdtar --use-compress-program pxz -C ${STAGE_WORK_DIR}/rootfs/boot -cpf ${NOOBS_DIR}/boot.tar.xz .
|
bsdtar --format gnutar --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 .
|
bsdtar --format gnutar --use-compress-program pxz -C ${STAGE_WORK_DIR}/rootfs --one-file-system -cpf ${NOOBS_DIR}/root.tar.xz .
|
||||||
|
|
||||||
unmount_image ${IMG_FILE}
|
unmount_image ${IMG_FILE}
|
||||||
|
|
Loading…
Reference in a new issue