summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/sdk.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-30 11:48:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-31 16:58:36 +0100
commit2feb9e20e464088c377fadb9344da28100662130 (patch)
tree69c4398b44d9fab60a66c1e95bffd457d84630f5 /scripts/lib/devtool/sdk.py
parent3220a20b9862301d94118a271c8b054018541cd4 (diff)
downloadpoky-2feb9e20e464088c377fadb9344da28100662130.tar.gz
sstate/buildhistory: Fix plaindirs handling to occur before SSTATEPOSTINSTFUNCS
buildhistory is showing issues where plaindirs installed files (such as package listings) are not reliably being handled with installs from sstate. The reason is that plaindirs is being handled after SSTATEPOSTINSTFUNCS instead of before it, meaning the files visible in a non-sstate accelerated code run are different to show from an accelerated run. This can be observed by the missing files lists for packages in buildhistory, both in from scratch builds and in builds from sstate. In builds where sstate is installed over an existing build directory, the files are present though, so there is a determinism problem. Fix this by moving the code into sstate_install, this is the only call site for the funciton. Since the move needs prepdir, move that as well as it's call site, being careful to handle the two different definitions of SSTATE_INSTDIR. The version originally in the function was obsolete and was causing the postinstfuncs to run in an incorrect directory. The only user is buildhistory and it wasn't sensitive to cwd however so this happened not to cause a problem. Fix the code to use the correct location. (From OE-Core rev: 62ee349cf18532dac8736488752c00e89de78fcd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions