From 929a460bfa6ad8e894db97e4d6ca267cf848e3a2 Mon Sep 17 00:00:00 2001 From: Anari Jalakas Date: Thu, 27 Nov 2025 15:22:03 +0200 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/20957 Signed-off-by: Christian Marangi --- 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. -- 2.30.2