]> git.ipfire.org Git - thirdparty/openwrt.git/commit
imagebuilder: add ABI suffix to packages when using apk 21449/head
authorGeorge Sapkin <george@sapk.in>
Thu, 8 Jan 2026 03:00:26 +0000 (05:00 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 13 Jan 2026 09:20:24 +0000 (10:20 +0100)
commit31cdd13d22dd374d4a8b8d86377627ad01928495
tree608bdfeca30c2742b56437f45f841096a64f1a34
parent02f0efd60b423b4ce9b996f7c986dd68965a50d4
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>
target/imagebuilder/files/Makefile