[openwrt/openwrt] include/package-pack: set missing Description on .apk creation

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 22 15:12:05 PDT 2024


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

commit b6bbc76c0b2a18b0a6771c4eec173f64783247fd
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Wed Oct 23 00:10:02 2024 +0200

    include/package-pack: set missing Description on .apk creation
    
    Set missing description info on .apk creation. This was probably a TODO
    that wasn't notice when the final implementation was pushed.
    
    Fixes: d788ab376f85 ("build: add APK package build capabilities")
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 include/package-pack.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/package-pack.mk b/include/package-pack.mk
index 26a3278834..a6ba9ca37c 100644
--- a/include/package-pack.mk
+++ b/include/package-pack.mk
@@ -339,7 +339,7 @@ else
 	$(FAKEROOT) $(STAGING_DIR_HOST)/bin/apk mkpkg \
 	  --info "name:$(1)$$(ABIV_$(1))" \
 	  --info "version:$(VERSION)" \
-	  --info "description:" \
+	  --info "description: $$(strip $$(Package/$(1)/description))" \
 	  --info "arch:$(PKGARCH)" \
 	  --info "license:$(LICENSE)" \
 	  --info "origin:$(SOURCE)" \




More information about the lede-commits mailing list