From 845496123bba33b0afea877744537d7c42f91a11 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 22 Nov 2016 12:12:40 +0000 Subject: [PATCH] export-noobs: use gnutar format for bsdtar --- export-noobs/prerun.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/export-noobs/prerun.sh b/export-noobs/prerun.sh index 60d51a9..cab3979 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 -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 . +bsdtar --format gnutar --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 --one-file-system -cpf ${NOOBS_DIR}/root.tar.xz . unmount_image ${IMG_FILE}