From cfb0390183fe073f8aee93d922b6ba907c010532 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 30 Jan 2021 18:31:28 -0800 Subject: [PATCH] move agnos manifest to selfdrive/hardware (#19889) --- launch_chffrplus.sh | 2 +- .../update_agnos.json => selfdrive/hardware/tici/agnos.json | 0 selfdrive/updated.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename installer/updater/update_agnos.json => selfdrive/hardware/tici/agnos.json (100%) diff --git a/launch_chffrplus.sh b/launch_chffrplus.sh index 4011eef7f2..a5298d9d0a 100755 --- a/launch_chffrplus.sh +++ b/launch_chffrplus.sh @@ -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) diff --git a/installer/updater/update_agnos.json b/selfdrive/hardware/tici/agnos.json similarity index 100% rename from installer/updater/update_agnos.json rename to selfdrive/hardware/tici/agnos.json diff --git a/selfdrive/updated.py b/selfdrive/updated.py index 8f19a05e1b..a5ef3722d7 100755 --- a/selfdrive/updated.py +++ b/selfdrive/updated.py @@ -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)