The manifest file created by the imagebuilder command 'make manifest' does
not contain '-' between packages name and version for the apk backend.
Therefore this file can not be used as an input file for 'package-metadata.pl'
script to get further informations.
This change fixes this by addding the missing '-' char.
Fixes 23dc466969f3 ("imagebuilder: implement STRIP_ABI option for manifest
target")
Signed-off-by: Florian Eckert <[email protected]>
---
target/imagebuilder/files/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/imagebuilder/files/Makefile
b/target/imagebuilder/files/Makefile
index 3f919a0658..fa162fa208 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -169,7 +169,7 @@ ifeq ($(CONFIG_USE_APK),)
$(OPKG) list-installed $(if $(STRIP_ABI),--strip-abi)
else
$(APK) query --format json --fields name,version,$(if
$(STRIP_ABI),tags) --installed '*' | \
- $(SCRIPT_DIR)/make-index-json.py -a $(ARCH_PACKAGES) -f apk
--manifest -
+ $(SCRIPT_DIR)/make-index-json.py -a $(ARCH_PACKAGES) -f apk
--manifest - | sort | sed 's/ / - /'
endif
package_index: FORCE
--
2.39.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel