]> git.ipfire.org Git - thirdparty/openwrt.git/commit
build: add default priority to ABI-versioned packages 21369/head
authorGeorge Sapkin <george@sapk.in>
Tue, 6 Jan 2026 01:50:37 +0000 (03:50 +0200)
committerRobert Marko <robimarko@gmail.com>
Mon, 12 Jan 2026 13:28:52 +0000 (14:28 +0100)
commit470e030a5eae77e94192e0dd933d7b1b657f7b2c
treefe4117c01e4cb731fad5e1b1d09d44eb167031c6
parent1dec4683f6a91cb0734e97186738b0ea413bb356
build: add default priority to ABI-versioned packages

If a package has an ABI version defined, set priority to 10. The enables
packages with an ABI version to be installed by their base name instead
of a name and an ABI version, e.g.:

libfoo3, where 3 is the ABI version can be installed by just libfoo.

This affects manual installation only, as the dependency resolution
takes care of ABI versions.

Refactor apk priority logic into a helper define.

Signed-off-by: George Sapkin <george@sapk.in>
Link: https://github.com/openwrt/openwrt/pull/21369
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/package-pack.mk