aboutsummaryrefslogtreecommitdiffstats
path: root/export-image/03-set-partuuid
diff options
context:
space:
mode:
authorBłażej Sowa <[email protected]>2019-01-21 19:42:54 +0100
committerXECDesign <[email protected]>2019-01-22 17:33:18 +1000
commitd88f536536ca3071edb56e85224fdf1c34086a16 (patch)
treec03112ee6ca1245d2334335b03c16c65cacf025b /export-image/03-set-partuuid
parent21aeca1b0c1ffd4c3336be31da510315714e87a8 (diff)
IMG_SUFFIX evaluation in export image (fix #241)
Diffstat (limited to 'export-image/03-set-partuuid')
-rwxr-xr-xexport-image/03-set-partuuid/00-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/export-image/03-set-partuuid/00-run.sh b/export-image/03-set-partuuid/00-run.sh
index e166e97..ec4fd8a 100755
--- a/export-image/03-set-partuuid/00-run.sh
+++ b/export-image/03-set-partuuid/00-run.sh
@@ -1,6 +1,6 @@
#!/bin/bash -e
-IMG_FILE="${STAGE_WORK_DIR}/${IMG_FILENAME}.img"
+IMG_FILE="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMX_SUFFIX}.img"
IMGID="$(dd if="${IMG_FILE}" skip=440 bs=1 count=4 2>/dev/null | xxd -e | cut -f 2 -d' ')"