Add NOOBS export support
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user