We are right on the cusp of not needing this any longer!
Yesterday's commit on apk-tools which resolved this request for custom tags adds the capability to the apk command to include the missing ABI version data into the package metadata and indexes. I've got a partial port of the above new code in my build environment and have worked all day on getting all the other bits and pieces together.
So far ☒-not started; ☐-started;
-done:
-
In the
openwrtrepo, upgradeapk-toolsto 20250606 (3.0.0_rc5) for both build host and devices (changes inpackage/system/apk/Makefile).
Merged https://github.com/openwrt/openwrt/commit/f244ff22d904f9cd9ea733a3d0cd1bc3a834bb67 -
Fix
include/package-pack.mkto generate packages containing the newopenwrt:abiversiontag (tag name pending approval)
Merged https://github.com/openwrt/openwrt/commit/a61a2a9291eed08d735a499828f4f2c7f7744a45 -
Enhancepackage/Makefileto create a newpackages.jsoncontaining information for use by the ASU server (or any other tools that need it)
Updatepackage/Makefile's generation of the already-existingindex.jsonso that it contains ABI-version-free names.
Merged https://github.com/openwrt/openwrt/commit/2b0b16f1d1571b23425b2d7ab5dc3816e2ceec12
Cherrypick to 24.10 https://github.com/openwrt/openwrt/commit/c99d356747a26d68bdb04719a4c4c7a954db8d6e -
In theasurepo, add parsing of thepackages.jsonfile to the ASU server
Probably nothing needed on ASU server ifindex.jsonhas proper content (but optimizations will be possible, once #3 is done).
Merged https://github.com/openwrt/asu/commit/55baae22579d3f5054539b90390b31d2d548e552 -
In the
rpcdrepo, rewriterpcd/sys.cto produce ABI-stripped package names whenubus call rpc-sys packagelistis called.
Merged https://github.com/openwrt/rpcd/commit/9389775ceb4702c82bd62b79cf17b0359c63e527
Update package/system/rpcd/Makefilein main
Merged https://github.com/openwrt/openwrt/commit/fccd1dd0aec027dc31cef0233225ea56a507fb64