aboutsummaryrefslogtreecommitdiffstats
path: root/export-image
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-07-04 07:24:29 +0200
committerSven Gothel <[email protected]>2021-07-04 07:24:29 +0200
commitd375a52787ac90a91f53e2670e26ba715adefb47 (patch)
treefd9918557a1d4b3aca83023cdbd3d503526b2d02 /export-image
parent7ab94ce52171b7c1b1856d73f4e6b0cc54cc64ee (diff)
export-image: avoid double dash for sdcard-${IMG_SUFFIX}, latter contains '-' already
Diffstat (limited to 'export-image')
-rwxr-xr-xexport-image/04-finalise/01-run.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh
index 362d264..8d64997 100755
--- a/export-image/04-finalise/01-run.sh
+++ b/export-image/04-finalise/01-run.sh
@@ -97,7 +97,7 @@ rm -rf "${DEPLOY_DIR2}"
mkdir -p "${DEPLOY_DIR2}"
if [ "${ROOTFS_RO}" = "1" ] ; then
- cp -a "${ROOTFS_DIR}/boot" "${DEPLOY_DIR2}/sdcard-${IMG_SUFFIX}"
+ cp -a "${ROOTFS_DIR}/boot" "${DEPLOY_DIR2}/sdcard${IMG_SUFFIX}"
fi
unload_qimage
@@ -111,7 +111,7 @@ if [ "${ROOTFS_RO}" = "1" ] ; then
mksquashfs "${ROOTFS_DIR}" "${IMG_FILE_ROOT_SQFS_LZO}" -comp lzo
mksquashfs "${ROOTFS_DIR}" "${IMG_FILE_ROOT_SQFS_NONE}" -noI -noD -noF -noX
umount "${ROOTFS_DIR}"
- cp -a "$INFO_FILE_ROOT" "${DEPLOY_DIR2}/sdcard-${IMG_SUFFIX}/sys_arm64_000/rootfs.inf"
+ cp -a "$INFO_FILE_ROOT" "${DEPLOY_DIR2}/sdcard${IMG_SUFFIX}/sys_arm64_000/rootfs.inf"
fi
mv "$INFO_FILE" "$INFO_FILE_ROOT" "$DEPLOY_DIR2/"
@@ -127,8 +127,8 @@ fi
mv "$IMG_FILE" "$DEPLOY_DIR2/"
if [ "${ROOTFS_RO}" = "1" ] ; then
- # cp -a "$IMG_FILE_ROOT_EXT4" "${DEPLOY_DIR2}/sdcard-${IMG_SUFFIX}/sys_arm64_000/rootfs.img"
- cp -a "$IMG_FILE_ROOT_SQFS_LZO" "${DEPLOY_DIR2}/sdcard-${IMG_SUFFIX}/sys_arm64_000/rootfs.img"
+ # cp -a "$IMG_FILE_ROOT_EXT4" "${DEPLOY_DIR2}/sdcard${IMG_SUFFIX}/sys_arm64_000/rootfs.img"
+ cp -a "$IMG_FILE_ROOT_SQFS_LZO" "${DEPLOY_DIR2}/sdcard${IMG_SUFFIX}/sys_arm64_000/rootfs.img"
mv "$IMG_FILE_ROOT_EXT4" "$DEPLOY_DIR2/"
mv "$IMG_FILE_ROOT_SQFS_GZ" "$DEPLOY_DIR2/"