openwrt-mirror/target/imagebuilder
George Sapkin 31cdd13d22 imagebuilder: add ABI suffix to packages when using apk
If an apk package with an ABI version doesn't have priority set, it
can't be selected by its base name:

$ make manifest PACKAGES='libustream-openssl libsqlite3'
ERROR: unable to select packages:
  libsqlite3 (virtual):
    note: please select one of the 'provided by'
          packages explicitly
    provided by: libsqlite3-0
    required by: world[libsqlite3]
  libustream-openssl (virtual):
    note: please select one of the 'provided by'
          packages explicitly
    provided by: libustream-openssl20201210
    required by: world[libustream-openssl]

Look up the ABI version in apk index and if present, add an ABI suffix
to all requested packages.

Signed-off-by: George Sapkin <george@sapk.in>
Link: https://github.com/openwrt/openwrt/pull/21449
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-01-13 10:20:24 +01:00
..
files imagebuilder: add ABI suffix to packages when using apk 2026-01-13 10:20:24 +01:00
Config.in merge: targets: update image generation and targets 2017-12-08 19:41:18 +01:00
Makefile imagebuilder: fix addition of local packages 2025-02-21 10:44:42 +01:00