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:
Luxferre committed 2026-11-05 17:55:17 +02:00
1 parent 075b90a627
commit 61829d94a9
2 files changed
+4

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ sys.path.insert(0, EDL_DIR)
from Library.usb import usb_class
from Library.gpt import gpt
from Library.sahara import qualcomm_sahara
from Library.firehose import qualcomm_firehose, xmlparser