Restore the EDL Sahara client import
flash-edl.py called qualcomm_sahara(cdc) without importing the class after the vendored EDL library refactor, so flash-edl.sh failed with "NameError: name 'qualcomm_sahara' is not defined" when Sahara startup was reached. - Restore "from Library.sahara import qualcomm_sahara" alongside the other EDL client imports. - Add a scripts/check-rebuild.sh guard that rejects a missing Sahara import. - Verify Sahara startup with a hardware-free harness for the local edl/ checkout, BANANARCHY_EDL_DIR=vendor/edl, and a clean-clone vendor/edl fallback; scripts/check-rebuild.sh passes.
This commit is contained in:
1 parent
075b90a627
commit
61829d94a9
2 files changed
+4
No files matched your search
@@ -127,6 +127,9 @@ done
|
||||
if [ ! -f "$BASE_DIR/vendor/edl/LICENSE" ]; then
|
||||
fail "missing vendor/edl/LICENSE"
|
||||
fi
|
||||
if ! grep -q '^from Library\.sahara import qualcomm_sahara$' "$BASE_DIR/flash-edl.py"; then
|
||||
fail "flash-edl.py is missing the Sahara client import"
|
||||
fi
|
||||
|
||||
echo "[check] Plugin artifacts..."
|
||||
for source in "$BASE_DIR"/src/dwm-plugins/*_plugin.cpp; do
|
||||
|
||||
Reference in new issue
Block a user