]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
package_ipk: Use localdata store when signing packages
authorKenfe-Mickael Laventure <mickael.laventure@verkada.com>
Mon, 27 Sep 2021 16:45:45 +0000 (09:45 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Sep 2021 23:14:46 +0000 (00:14 +0100)
commit2b5f01cf5a92a873ac4c3f0ba0584cab2cc05714
tree61c768b05cbb2124b0f4109ec9574c69717293ec
parentb96bb3fe6e17a194db0dcb86d2877946eaa77341
package_ipk: Use localdata store when signing packages

When signing a package, we were resolving the `PKGV` version using the
original data store (`d`). However, since that store does not have the
package name in its `OVERRIDES` list the wrong version can be returned in
recipes that produce multiple packages. One such example would be
`external-arm-toolchain.bb`.

The above issue is fixed by using `localdata` instead of `d` when
resolving the needed variables.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@verkada.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_ipk.bbclass