diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-12-02 18:50:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 12:44:47 +0000 |
commit | ca86603607a69a17cc5540d69de0e242b33382d3 (patch) | |
tree | c1a2e0fa7d522098d677b164edaeae477f3d61e9 /scripts/test-reexec | |
parent | ceba66859f87904066e67504a53fc8b07f4b1111 (diff) | |
download | openembedded-core-ca86603607a69a17cc5540d69de0e242b33382d3.tar.gz openembedded-core-ca86603607a69a17cc5540d69de0e242b33382d3.tar.bz2 openembedded-core-ca86603607a69a17cc5540d69de0e242b33382d3.zip |
classes/package: fix FILES_INFO serialisation in pkgdata
The FILES_INFO entry in each pkgdata file stores the list of files for
each package. Make the following improvements to how this is stored:
* Store paths as they would be seen on the target rather than
erroneously including the full path to PKGDEST (which is specific to
the build host the package was built on)
* For simplicity when loading the data, store complete paths for each
entry instead of trying to break off the first part and use it as the
dict key
* Record sizes for each file (as needed by Toaster)
* Serialise the value explicitly using json rather than just passing it
through str().
Fixes [YOCTO #5443].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/test-reexec')
0 files changed, 0 insertions, 0 deletions