[openwrt/openwrt] config: add !USE_APK dependency to CLEAN_IPKG
LEDE Commits
lede-commits at lists.infradead.org
Thu Nov 27 05:46:33 PST 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/929a460bfa6ad8e894db97e4d6ca267cf848e3a2
commit 929a460bfa6ad8e894db97e4d6ca267cf848e3a2
Author: Anari Jalakas <anari.jalakas at gmail.com>
AuthorDate: Thu Nov 27 15:22:03 2025 +0200
config: add !USE_APK dependency to CLEAN_IPKG
When USE_APK is enabled, APK replaces opkg/ipkg, leading to a build
failure when CLEAN_IPKG is also selected. Add 'depends on !USE_APK' to
CLEAN_IPKG to ensure this option is only selectable when opkg/ipkg is
the active package manager.
Signed-off-by: Anari Jalakas <anari.jalakas at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20957
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
config/Config-build.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/config/Config-build.in b/config/Config-build.in
index 5eaca5a945..b42fb8bc11 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -108,6 +108,7 @@ menu "Global build settings"
config CLEAN_IPKG
bool
prompt "Remove ipkg/opkg status data files in final images"
+ depends on !USE_APK
help
This removes all ipkg/opkg status data files from the target directory
before building the root filesystem.
More information about the lede-commits
mailing list