Hi, this set contains two patches which solve the same issues in two different ways, only one should be merged.
ABIVersions of packages are simply attached to the package name, so package `foobar` with ABIVersion 32 becomes `foobar32`, literally the name to install via opkg. This information is stored on-device in /usr/lib/opkg/status. For a running device it is currently not possible to determine a list packages which could be used for later releases, as the ABIVersions likely changed between releases and the package no longer exists as `foobar32`, but rather `foobar33`. A way to determine the so called package *SourceName* is required. Either the `SourceName` should be stored in the Packages index and thereby end up on the device or the ABIVersion should be stored, because *PackageName* - *ABIVersion* = *SourceName*. Storing SourceName for every package increases storage and is redundant as not all packages use a ABIVersion, meaning *PackageName* and *SourceName* are the same. Offering the *ABIVersion* requires more logic for whatever parses the file, in this case specifically `ubus call rpc-sys packagelist`. I'm in favor of adding the ABIVersion again and extend the logic of rpcd/sys.c. Paul Spooren (2): package: store SourceName in Packages index include: store ABIVersion in Packages index include/package-ipkg.mk | 1 + package/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) -- 2.30.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel