move agnos manifest to selfdrive/hardware (#19889)

old-commit-hash: cfb0390183
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent 2803e48c7d
commit ec468f88c9
  1. 2
      launch_chffrplus.sh
  2. 0
      selfdrive/hardware/tici/agnos.json
  3. 2
      selfdrive/updated.py

@ -126,7 +126,7 @@ function tici_init {
echo "Cur slot $CUR_SLOT, target $OTHER_SLOT"
# Get expected hashes from manifest
MANIFEST="$DIR/installer/updater/update_agnos.json"
MANIFEST="$DIR/selfdrive/hardware/tici/agnos.json"
SYSTEM_HASH_EXPECTED=$(jq -r ".[] | select(.name == \"system\") | .hash_raw" $MANIFEST)
SYSTEM_SIZE=$(jq -r ".[] | select(.name == \"system\") | .size" $MANIFEST)
BOOT_HASH_EXPECTED=$(jq -r ".[] | select(.name == \"boot\") | .hash_raw" $MANIFEST)

@ -228,7 +228,7 @@ def handle_agnos_update(wait_helper):
cloudlog.info(f"Beginning background installation for AGNOS {updated_version}")
manifest_path = os.path.join(OVERLAY_MERGED, "installer/updater/update_agnos.json")
manifest_path = os.path.join(OVERLAY_MERGED, "selfdrive/hardware/tici/agnos.json")
flash_agnos_update(manifest_path, cloudlog)

Loading…
Cancel
Save