summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnari Jalakas2025-11-27 13:22:03 +0000
committerChristian Marangi2025-11-27 13:46:26 +0000
commit929a460bfa6ad8e894db97e4d6ca267cf848e3a2 (patch)
treeb6136b24665e38c264efd835f3603a490335f6e2
parentcf14eb6c86bf614640bf2c031b415f24ae3880d2 (diff)
downloadopenwrt-929a460bfa6ad8e894db97e4d6ca267cf848e3a2.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20957 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--config/Config-build.in1
1 files changed, 1 insertions, 0 deletions
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.