-
Notifications
You must be signed in to change notification settings - Fork 85
Conversation
Thanks @hackoder! Overall the changes look good. Unfortunately because the latest upstream android-prepare-vendor has this dependency on python2 and python3 protobuf, it will be a breaking change when I merge latest to rattlesnakeos android-prepare-vendor fork and it will require existing stacks to be updated with your change in order to not fail builds. That stinks, but definitely not your issue; more of a design flaw of this project and not locking deterministically to specific commit hashes. I'll probably wait until middle of the month to let people get January builds done and then pull this change in and create a new release and update android-prepare-vendor at the same time. |
Ah, you're right, can't update without breaking existing stacks. Makes sense to wait until the later half of the month. |
I couldn't get the build to finish on my end with android-prepare-vendor/android11. It failed when extracting the ota. Here's the log :
My guess is that this recent commit is responsible. Reverting it lets the build proceed. |
I think the issue is that they are using So, options:
|
@pinembour - thanks for catching that issue! I've got the change to have it default extract_android_ota_payload.py to python3 upstream (AOSPAlliance/android-prepare-vendor#56). I'll spin up a redfin stack and do some testing with this android-prepare-vendor change and this branch. |
Looks good from a build perspective. I'll merge this in and cut a new release soon. |
These changes should work for redfin. Tested against latest.json generated using your latest.json script and with android-prepare-vendor/android11.
Would need your fork of android-prepare-vendor updated as well. Since the extraction scripts use both python2 and python3, I had to install protobuf for both to get it to build. Let me know if you spot any issues.