Files
openwrt/package/utils
Eric Fahlgren c80bae3c18 treewide: add explicit default variant
Some packages with variants did not specify the default among the
alternatives, so were left without any apk 'provider_priority'
for that package.  This caused the apk solver to select the wrong
variant, silently changing the requested package list.

Notable among these were busybox, procd and the hostapd/wpad suite.
This behavior presented in the imagebuilders when creating the
image as follows, silently replacing packages even when explicitly
requested:

    $ make image PACKAGES=busybox
    ...
    ( 14/148) Installing busybox-selinux (1.37.0-r6)
    ...

We add 'DEFAULT_VARIANT:=1' to the packages that were missing one,
providing apk with sufficient information to choose the correct
package.

See link below for further examples and discussion.

Link: https://github.com/openwrt/openwrt/pull/21288#issuecomment-3704101422
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21358
(cherry picked from commit f4fdb9964a)
Link: https://github.com/openwrt/openwrt/pull/21355
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-01-02 18:11:04 +01:00
..
2025-05-24 21:32:25 +02:00
2024-10-03 17:27:50 +02:00
2023-10-09 23:42:37 +02:00
2025-11-18 23:13:45 +01:00
2025-11-27 00:02:26 +01:00
2025-10-29 21:09:55 +01:00
2024-11-17 12:30:16 +01:00
2025-11-23 09:20:12 +01:00
2024-02-17 01:55:21 +01:00
2025-11-18 23:13:46 +01:00
2024-11-11 21:20:01 +01:00
2025-10-04 19:39:40 +02:00
2025-11-27 00:02:26 +01:00
2025-07-12 23:26:34 +02:00
2026-01-02 14:34:58 +01:00