Repository navigation
Is there a means to add a postinstall script via unpacking the zip or another method? #589
benjamindaines
started this conversation in
General
Replies: 1 comment
|
Yeah, You can unpack the OTA + payload with: avbroot zip unpack -q -i ota.zip --payloadand specify a script for one of the partitions in [[manifest.partitions]]
partition_name = "system"
run_postinstall = true
postinstall_path = "system/bin/otapreopt_script"
postinstall_optional = true
# ...The payload + OTA can be repacked with: avbroot zip pack -q -o ota.zip -k ota.key -c ota.crt --payload |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
see title for the most part. thanks
All reactions