Skip to content

android-recovery-installer: Use an explicit list of zip file contents

Administrator requested to merge android-recovery-installer-file-list into master

pmbootstrap uses the same working directory when creating the recovery zip. If the build root isn't zapped then the recovery zip for other devices still exist in that directory. Those will end up being packed into subsequent recovery zips for different devices.

Reproducing this issue.

$ pmbootstrap zap

$ pmbootstrap init
# Use device lg-mako.
$ pmbootstrap install --no-fde --android-recovery-zip

$ pmbootstrap init
# Use device lg-dory.
# Don't zap the chroots.
$ pmbootstrap install --no-fde --android-recovery-zip

$ pmbootstrap export

The archive /tmp/postmarketOS-export/pmos-lg-dory.zip has pmos-lg-mako.zip inside of it.

Edited by Administrator

Merge request reports

Loading