Introducing new internal function for deploying images in folders

This was previously done automatically with BUILD_ALL but since we are building images differently, we need a new name. BUILD_ALL covers other functions, so we need to detach and make a new VARIABLE.
This commit is contained in:
Igor Pecovnik
2021-12-15 18:30:23 +01:00
parent 356cb4e868
commit e11af914a2

View File

@@ -915,8 +915,9 @@ POST_UMOUNT_FINAL_IMAGE
mv ${SDCARD}.raw $DESTIMG/${version}.img
FINALDEST=$DEST/images
[[ "${BUILD_ALL}" == yes ]] && MAKE_FOLDERS="yes"
if [[ $BUILD_ALL == yes ]]; then
if [[ "${MAKE_FOLDERS}" == yes ]]; then
if [[ "$RC" == yes ]]; then
FINALDEST=$DEST/images/"${BOARD}"/RC
elif [[ "$BETA" == yes ]]; then