Removed SKIP file support for main stage

This commit is contained in:
Greg MacLellan 2016-10-04 22:32:15 -04:00
parent 34e7bae0cf
commit 831ef7c2e1

View File

@ -88,7 +88,6 @@ run_stage(){
if [ -f ${STAGE_DIR}/EXPORT_IMAGE ]; then if [ -f ${STAGE_DIR}/EXPORT_IMAGE ]; then
EXPORT_DIRS="${EXPORT_DIRS} ${STAGE_DIR}" EXPORT_DIRS="${EXPORT_DIRS} ${STAGE_DIR}"
fi fi
if [ ! -f SKIP ]; then
if [ "${CLEAN}" = "1" ]; then if [ "${CLEAN}" = "1" ]; then
if [ -d ${ROOTFS_DIR} ]; then if [ -d ${ROOTFS_DIR} ]; then
rm -rf ${ROOTFS_DIR} rm -rf ${ROOTFS_DIR}
@ -105,7 +104,6 @@ run_stage(){
run_sub_stage run_sub_stage
fi fi
done done
fi
unmount ${WORK_DIR}/${STAGE} unmount ${WORK_DIR}/${STAGE}
PREV_STAGE=${STAGE} PREV_STAGE=${STAGE}
PREV_STAGE_DIR=${STAGE_DIR} PREV_STAGE_DIR=${STAGE_DIR}