aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel-version.mk
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-03-07 18:09:32 -1000
committerPaul Spooren <mail@aparcar.org>2021-03-08 19:04:35 -1000
commitfc5b101c06928884d2b0c42b11bf917d29538971 (patch)
treed7f9ed56224445030ca8b6a3e37ab53e6906faed /include/kernel-version.mk
parentbff84f3e8ec6fbeeeb609b2d1fe28300c4c7c6ee (diff)
downloadupstream-fc5b101c06928884d2b0c42b11bf917d29538971.tar.gz
upstream-fc5b101c06928884d2b0c42b11bf917d29538971.tar.bz2
upstream-fc5b101c06928884d2b0c42b11bf917d29538971.zip
include: store ABIVersion in Packages index
With the existence of ABI versions there is no clean way to determine the package name without an attached ABI version. The Packages index is stored on device to know what packages are installed. The ABIVersion was recently removed in c921650382 "build: drop ABI version from metadata", while ABI versions still exists. This becomes a problem if a user tries to export installed packages via `ubus call rpcd-sys packagelist` which would return package names including the ABI version. Trying to find these packages in a later release with changes ABI version is impossible. This commits adds the `ABIVersion` field again. Knowing both the combined (SourceName + ABIVersion) and the `ABIVersion` it is possible to calculate the package `SourceName` without storing it in the on-device package list. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'include/kernel-version.mk')
0 files changed, 0 insertions, 0 deletions