]> git.ipfire.org Git - thirdparty/openwrt.git/commit
imagebuilder: implement STRIP_ABI option for manifest target 19278/head
authorEric Fahlgren <ericfahlgren@gmail.com>
Tue, 1 Jul 2025 21:02:41 +0000 (14:02 -0700)
committerRobert Marko <robimarko@gmail.com>
Thu, 3 Jul 2025 10:45:59 +0000 (12:45 +0200)
commit23dc466969f3364dfa7ab480e7745480a2e816f9
tree50403b2908f3e700e759866280f978b3bbbf2d57
parent9d31db2833fd3d2995488a6c28017b115d910a7c
imagebuilder: implement STRIP_ABI option for manifest target

When using apk as the package manager, imagebuilder make command

    make manifest STRIP_ABI=1

does not strip package names of their ABI-version suffix.  The ASU
server relies on this to validate builds, so many snapshot build
requests are failing.

Fix this by using the already existing package data parser in
make-index-json.py and augment it to write the result in manifest
format.

Fixes: https://github.com/openwrt/openwrt/issues/19274
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19278
Signed-off-by: Robert Marko <robimarko@gmail.com>
scripts/make-index-json.py
target/imagebuilder/files/Makefile