diff --git a/Dockerfile b/Dockerfile index b5fe4167a154eee234980db0a13f7fec28c5b717..1a7fd48ccb03c11c049ccda9a178b1dec580127b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -103,6 +103,9 @@ ENV OPENDELTA_BUILDS_JSON '' # Save recovery image ENV RECOVERY_IMG false +# Ship with Minimal Apps +ENV MINIMAL_APPS false + # You can optionally specify a USERSCRIPTS_DIR volume containing these scripts: # * begin.sh, run at the very beginning # * before.sh, run after the syncing and patching, before starting the builds diff --git a/src/build.sh b/src/build.sh index 7e44e42a1716b646b38f178400d8fdfde3683175..28e396479e22455cc23e3fb38b2ae52068db47fa 100755 --- a/src/build.sh +++ b/src/build.sh @@ -243,7 +243,7 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then sha256sum "IMG-$build" > "IMG-$build.sha256sum" md5sum "IMG-$build" > "IMG-$build.md5sum" fi - + if [ "$RECOVERY_IMG" = true ]; then if [ -f "recovery.img" ]; then cp -a recovery.img "$ZIP_DIR/$zipsubdir/recovery-${build%.*}.img"