summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.org>2016-05-27 11:55:26 +0100
committerSerge Schneider <serge@raspberrypi.org>2016-05-27 11:55:26 +0100
commit062af361c8cdf598fd198aa27e35a35d64bdf9a4 (patch)
tree92ee2c85b2a51e2bb2cd5fdcfcc801abbd24bc64 /build.sh
parent96bb138c83d16578f2f7511b80908cf0110c53ec (diff)
parentcc5a65723c33f0458562a890692b41436ac7e837 (diff)
Merge branch 'base' into dev
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}"