openwrt/package
Mario Andrés Pérez 47b6b9de1a
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
base-files: handle packages alternatives when apk removes packages
On commit 3010ab8 ("base-files: add update_alternatives function") was
implemented the function to handle ALTERNATIVES when using APK (OPKG
handle it internally) but in commit bcc6415 ("base-files: add
compatibility for APK and OPKG") was only called when adding a package,
so call it also when removing packages.

While we are here, check for a more specific *.alternatives files instead
of *.list, and remove redundant "filelist" variable definition.

Fixes: bcc6415 ("base-files: add compatibility for APK and OPKG")
Fixes: https://github.com/openwrt/openwrt/issues/19090
Fixes: https://github.com/openwrt/openwrt/issues/16991
Reported-and-tested-by: Eric Fahlgren <ericfahlgren@gmail.com>
Signed-off-by: Mario Andrés Pérez <mapb_@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19093
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-23 09:39:12 +02:00
..
base-files base-files: handle packages alternatives when apk removes packages 2025-06-23 09:39:12 +02:00
boot uboot-envtools: add support for Check Point V-81 2025-06-22 22:17:20 +02:00
devel perf: disable slang support 2025-06-16 23:22:59 +02:00
firmware linux-firmware: update to 20250613 2025-06-14 09:39:09 +02:00
kernel mt76: Change CRLF to LF in patch 002 2025-06-22 22:57:34 +02:00
libs gmp: fix compilation with GCC 15.1 2025-06-08 12:46:17 +02:00
network wifi-scripts: enforce management frame protection on 6 GHz 2025-06-21 20:34:12 +02:00
system rpcd: update to Git HEAD (2025-06-22) 2025-06-23 09:36:32 +02:00
utils omnia-eeprom: simplify Makefile 2025-06-22 18:58:49 +02:00
Makefile package: rework contents of package index.json 2025-06-11 16:55:31 +02:00