Add NOOBS export support

This commit is contained in:
Serge Schneider
2016-05-27 11:54:56 +01:00
parent de878cc217
commit cc5a65723c
2 changed files with 15 additions and 9 deletions
+5 -2
View File
@@ -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}"