]> code.ossystems Code Review - 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 4 Oct 2021 02:46:18 +0000 (10:46 +0800)
commitc4724cd652b5a3adc398652b48e16d1fd1a90e89
treead54dd07430e3a6af7952e594d09fc9afd21fdad
parentf730707b3e00e5d9d145d55cdf479cd6d11a62f5
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>
(cherry picked from commit 2b5f01cf5a92a873ac4c3f0ba0584cab2cc05714)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/package_ipk.bbclass