diff options
author | Kenfe-Mickael Laventure <mickael.laventure@verkada.com> | 2021-09-27 09:45:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-07 15:10:40 +0100 |
commit | b3cb8fb619d96cadae1821cd6b26555b73bd38a5 (patch) | |
tree | 1e57def40fc33dd55344f8f2925e89d38ee49e42 /scripts/lib/scriptutils.py | |
parent | 2d0db58a89d5279a461ae735ffa06e1942108765 (diff) | |
download | poky-b3cb8fb619d96cadae1821cd6b26555b73bd38a5.tar.gz |
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.
(From OE-Core rev: c4724cd652b5a3adc398652b48e16d1fd1a90e89)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions