summaryrefslogtreecommitdiffstats
path: root/scripts/test-reexec
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-08-26 14:21:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:36:11 +0100
commit846cb34afa573a35ab04182c7bb6f960a1b19b5b (patch)
treec42fdcf942ba9b56112fd9508bf05732b7b68393 /scripts/test-reexec
parent1bfae0fd81b7a7ec3b56e1d35d02fa6294b0dc2a (diff)
downloadpoky-846cb34afa573a35ab04182c7bb6f960a1b19b5b.tar.gz
classes/buildhistory: fix permissions in package file listing
If we want the correct file permissions to show up here as they would on the target, we need to run the command under pseudo. Normally we'd set the fakeroot varflag on the function and that would be enough, but it turns out that setting fakeroot on a non-task function that you execute using bb.build.exec_func() isn't working at the moment. Work around this by simply using FAKEROOTENV and FAKEROOTCMD. Unfortunately that means we have to duplicate the command for the two cases but I couldn't find a better means of doing that that actually works. (From OE-Core rev: 1380aa333ed90559f4a24d52aefc52cadb60646c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/test-reexec')
0 files changed, 0 insertions, 0 deletions