]> git.ipfire.org Git - thirdparty/openwrt.git/commit
scripts/make-index-json: ensure that manifest output is in opkg format 20094/head
authorEric Fahlgren <ericfahlgren@gmail.com>
Fri, 19 Sep 2025 17:01:07 +0000 (10:01 -0700)
committerRobert Marko <robimarko@gmail.com>
Sat, 1 Nov 2025 18:42:20 +0000 (19:42 +0100)
commit3b21f97641f9a03a01d1a40bc5ed740bae7a7c27
tree42a4c84b9dceb81d4656d56e8765738a25d10611
parent3156d72cbf43cc240d21ba88401154b85d05d46d
scripts/make-index-json: ensure that manifest output is in opkg format

Certain existing tooling, such as 'package-metadata.pl', are written
to accept the output of 'opkg list' with package manifest delimited
by '-'.  The 'make-index-json.py --manifest' output was emulating
the 'apk list --manifest' format without the delimiting dash,
thus breaking these legacy tools.

We fix this by adding the dash to the manifest output, which allows
all existing tooling to process the output irrespective of whether
the build system uses opkg or apk.

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20094
Signed-off-by: Robert Marko <robimarko@gmail.com>
scripts/make-index-json.py