Add a no-cover DTB rollback for 2720 Flip hardware sign-off
This commit is contained in:
1 parent
90e6771700
commit
31db372779
8 files changed
+153
-11
No files matched your search
@@ -1343,6 +1343,20 @@ if ! grep -qF 'bananarchy-cover-diagnose.sh' \
|
||||
fail "apply-bananarchy-overlay.sh no longer installs the cover diagnostics"
|
||||
fi
|
||||
|
||||
echo "[check] 2720 Flip cover rollback..."
|
||||
if [ ! -x "$BASE_DIR/scripts/build-beatles-no-cover-dtb.py" ]; then
|
||||
fail "missing rollback builder scripts/build-beatles-no-cover-dtb.py"
|
||||
elif command -v dtc >/dev/null 2>&1 && \
|
||||
! "$BASE_DIR/scripts/build-beatles-no-cover-dtb.py" --check >/dev/null 2>&1; then
|
||||
fail "the no-cover DTB rollback transformation failed validation"
|
||||
fi
|
||||
if ! grep -qF 'parser.add_argument("--dtb"' \
|
||||
"$BASE_DIR/scripts/sync-beatles-bootfs.py" || \
|
||||
! grep -qF 'parser.add_argument("--boot-image"' \
|
||||
"$BASE_DIR/scripts/sync-beatles-bootfs.py"; then
|
||||
fail "sync-beatles-bootfs.py lost its DTB/boot-image overrides"
|
||||
fi
|
||||
|
||||
if [ "$FAILURES" -ne 0 ]; then
|
||||
echo "[check] $FAILURES check(s) failed."
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user