diff --git a/flash-edl.py b/flash-edl.py index ff1a83b..e7e319f 100755 --- a/flash-edl.py +++ b/flash-edl.py @@ -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 diff --git a/scripts/check-rebuild.sh b/scripts/check-rebuild.sh index 9ddf537..c345233 100755 --- a/scripts/check-rebuild.sh +++ b/scripts/check-rebuild.sh @@ -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