-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flash extra.json
manifest
#165
Conversation
0d939c2
to
a34157a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does the extra manifest live? This should have no impact on the current AGNOS release flow, and it should all just work. Took a stab at simplifying this in #170; I think that'll work with openpilot's updater (and it's a big red diff!)
internal/extra_push.sh
Outdated
local SPARSE=$(cat $EXTRA_JSON | jq -r ".[] | select(.name == \"$NAME\") | .sparse") | ||
|
||
if [ "$SPARSE" == "true" ]; then | ||
upload_file "$NAME-$HASH_RAW-optimized.img.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optimized is kind of a misnomer here - it's just "special". maybe call it "skipped-chunks"
EXTRA_JSON="$OTA_OUTPUT_DIR/extra.json" | ||
EXTRA_STAGING_JSON="$OTA_OUTPUT_DIR/extra-staging.json" | ||
|
||
process_file() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like this file has a ton of duplication
No description provided.