config: add !USE_APK dependency to CLEAN_IPKG
authorAnari Jalakas <[email protected]>
Thu, 27 Nov 2025 13:22:03 +0000 (15:22 +0200)
committerChristian Marangi <[email protected]>
Thu, 27 Nov 2025 13:46:26 +0000 (14:46 +0100)
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20957
Signed-off-by: Christian Marangi <[email protected]>
config/Config-build.in

index 5eaca5a94583a3151ff152bd70fb9f879cf8ad2c..b42fb8bc11c4d4d8010025fe0deb6432791aabdf 100644 (file)
@@ -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.