[openwrt/openwrt] apk: define minimal variant for install

LEDE Commits lede-commits at lists.infradead.org
Mon Dec 8 12:31:31 PST 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1684c28cfe67650cef0a9bd6f3c54fa62b0916c3

commit 1684c28cfe67650cef0a9bd6f3c54fa62b0916c3
Author: Paul Donald <newtwen+github at gmail.com>
AuthorDate: Mon Dec 8 20:45:16 2025 +0100

    apk: define minimal variant for install
    
    Choose the minimal release build which excludes a number of
    unused applets, not used on user devices.
    
    Signed-off-by: Paul Donald <newtwen+github at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/21093
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 package/system/apk/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/system/apk/Makefile b/package/system/apk/Makefile
index 9627084f4e..0fda788185 100644
--- a/package/system/apk/Makefile
+++ b/package/system/apk/Makefile
@@ -70,7 +70,8 @@ MESON_HOST_ARGS += \
 
 MESON_ARGS += \
 	$(MESON_COMMON_ARGS) \
-	-Dcrypto_backend=$(BUILD_VARIANT)
+	-Dcrypto_backend=$(BUILD_VARIANT) \
+	-Dminimal=true
 
 define Package/apk/conffiles
 /etc/apk/repositories.d/customfeeds.list




More information about the lede-commits mailing list