Skip to content

Fix building packages by provides name

Administrator requested to merge fix/1220-build-resolve-provides into master

Created by: ollieparanoid

Use case: mkbootimg provides the unpackbootimg package. When running pmb.chroot.apk.install(args,"unpackbootimg"), it was not able to properly build the package.

Reproducing the error:

sudo rm ~/.local/var/pmbootstrap/packages/x86_64/mkbootimg*
pmbootstrap index
pmbootstrap --mirror-pmOS="" chroot --add=unpackbootimg

Or alternatively (simpler but less illustrative):

pmbootstrap build unpackbootimg --force

Fixes #1220 (closed).

Merge request reports

Loading