Mark a1108 dejavu release and rebuild image
Group all previously unreleased changes under Build a1108 / dejavu, update README, MANUAL, AGENTS and battery analysis for the current release, add release codename support to scripts/version.sh and check-rebuild.sh, update os-release/issue/motd templates including usr/lib/os-release, rebuild the image under a1108, and deploy the same release metadata to the live phone.
This commit is contained in:
1 parent
608a8ac71b
commit
8448b6465f
13 files changed
+104
-47
No files matched your search
@@ -302,9 +302,21 @@ if ! command -v docker >/dev/null 2>&1; then
|
||||
fi
|
||||
|
||||
echo "[check] Version helper..."
|
||||
if ! "$BASE_DIR/scripts/version.sh" --print >/dev/null 2>&1; then
|
||||
fail "scripts/version.sh --print failed"
|
||||
VERSION="$("$BASE_DIR/scripts/version.sh" --print 2>/dev/null || true)"
|
||||
CODENAME="$("$BASE_DIR/scripts/version.sh" --print-codename 2>/dev/null || true)"
|
||||
if [ "$VERSION" != "a1108" ]; then
|
||||
fail "scripts/version.sh --print must return a1108"
|
||||
fi
|
||||
if [ "$CODENAME" != "dejavu" ]; then
|
||||
fail "scripts/version.sh --print-codename must return dejavu"
|
||||
fi
|
||||
for f in overlay/rootfs/etc/os-release overlay/rootfs/usr/lib/os-release overlay/rootfs/etc/issue overlay/rootfs/etc/motd; do
|
||||
if [ ! -f "$BASE_DIR/$f" ]; then
|
||||
fail "missing $f"
|
||||
elif ! grep -q '@BANANARCHY_VERSION@' "$BASE_DIR/$f" || ! grep -q '@BANANARCHY_CODENAME@' "$BASE_DIR/$f"; then
|
||||
fail "$f lost its version/codename placeholders"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$FAILURES" -ne 0 ]; then
|
||||
echo "[check] $FAILURES check(s) failed."
|
||||
|
||||
Reference in new issue
Block a user