State of APK package manger integration - switched!
Felix Fietkau
nbd at nbd.name
Mon Nov 11 04:14:17 PST 2024
On 11.11.24 12:57, Robert Marko wrote:
> On Mon, 11 Nov 2024 at 12:56, Paul Spooren <mail at aparcar.org> wrote:
>>
>> Hi Robert,
>>
>> No it should not be there, based on the code it shouldn’t be there but maybe it’s pulled in by some other package depending on it. I’ll have a look, thanks for notifying me.
>
> Hi Paul, I have started poking around and somehow this is getting
> evaluated weirdly:
>
> ifneq ($(CONFIG_USE_APK),)
> DEFAULT_PACKAGES+=apk-mbedtls
> else
> DEFAULT_PACKAGES+=opkg
> endif
>
> Because removing the else condition drops OPKG from default package selection.
This is definitely broken. Anything that is used for generating
(menu)config related files cannot rely on any symbols in .config
Looks like there are other similarly broken checks in the same file
below this part.
- Felix
More information about the openwrt-devel
mailing list