Skip to content

Install "android-tools" instead of "libsparse" for img2simg

Minecrell requested to merge Minecrell/pmbootstrap:sparse-android-tools into master

The sparse image tools (simg2img, img2simg, append2simg) are now part of Alpine's android-tools where they are continously updated. (See https://github.com/nmeum/android-tools/pull/8)

Therefore, "libsparse" now conflicts with "android-tools", which causes the fastboot flasher to fail if "libsparse" is already installed.

Install "android-tools" instead of "libsparse" before generating a sparse image to avoid this problem.

Edited by Alexey Min

Merge request reports