openwrt/package/utils/busybox
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
..
config busybox: update to 1.37.0 2024-12-05 21:16:55 +01:00
files busybox: Save shell history into /tmp 2024-12-08 19:18:02 +01:00
patches busybox: fix regression for long long type dump support 2025-12-04 12:15:59 +01:00
Config-defaults.in busybox: Save shell history into /tmp 2024-12-08 19:18:02 +01:00
Config.in busybox: add selinux variant 2020-08-23 23:37:08 +01:00
convert_defaults.pl busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 2014-01-31 13:50:16 +00:00
convert_menuconfig.pl busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files 2016-01-03 11:38:31 +00:00
Makefile treewide: add explicit default variant 2026-01-02 18:11:04 +01:00
selinux.config busybox: add selinux variant 2020-08-23 23:37:08 +01:00