summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 9a889f2..fe8214a 100755
--- a/build.sh
+++ b/build.sh
@@ -163,13 +163,16 @@ for STAGE_DIR in ${BASE_DIR}/stage*; do
run_stage
done
-STAGE_DIR=${BASE_DIR}/export-image
-
CLEAN=1
for EXPORT_DIR in ${EXPORT_DIRS}; do
+ STAGE_DIR=${BASE_DIR}/export-image
IMG_SUFFIX=$(cat ${EXPORT_DIR}/EXPORT_IMAGE)
EXPORT_ROOTFS_DIR=${WORK_DIR}/$(basename ${EXPORT_DIR})/rootfs
run_stage
+ if [ -e ${EXPORT_DIR}/EXPORT_NOOBS ]; then
+ STAGE_DIR=${BASE_DIR}/export-noobs
+ run_stage
+ fi
done
log "End ${BASE_DIR}"