diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-16 16:01:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-17 09:52:18 +0100 |
commit | a1190903e0a61a12c9854c96af918ae8d12c6327 (patch) | |
tree | e70fd8d865f322c0827c5671fecec15afe9892cf /meta/classes/package.bbclass | |
parent | 72a9ddf85876909d6f22582561a6e1c3a2ccf2fa (diff) | |
download | openembedded-core-contrib-a1190903e0a61a12c9854c96af918ae8d12c6327.tar.gz |
package/scripts: Fix FILES_INFO handling
There is a long standing bug where FILES_INFO isn't written into pkgdata
with a package suffix. This means if the files are read into the datastore
as intended, the last one "wins".
Fix this to work as intended. Most of the call sites using the data need
to be updated to handle this and the overrides change correctly.
Also fix some other problematic references noticed along the way.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index a9138ff6bec..fb3c346f692 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1652,7 +1652,7 @@ fi if fstat.st_ino not in seen: seen.add(fstat.st_ino) total_size += fstat.st_size - d.setVar('FILES_INFO', json.dumps(files, sort_keys=True)) + d.setVar('FILES_INFO:' + pkg , json.dumps(files, sort_keys=True)) process_postinst_on_target(pkg, d.getVar("MLPREFIX")) add_set_e_to_scriptlets(pkg) |