diff options
author | Felix Moessbauer <felix.moessbauer@siemens.com> | 2022-05-06 10:59:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-20 10:08:06 +0100 |
commit | a8a094e5118ebbf4f2a3273c9b999c0e228c5027 (patch) | |
tree | 2ce11a6f4690e82fa0d983f402daeca1ebf1f1bd /scripts/buildhistory-collect-srcrevs | |
parent | 524a41059d77572dbb30df65fe6b3401bd05763b (diff) | |
download | poky-a8a094e5118ebbf4f2a3273c9b999c0e228c5027.tar.gz |
wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions
This patches makes locating the file database containing the file and
folder usernames and permissions more reliable.
In addition to locating it relative to the partition directory, we also
try to locate it relative to the IMAGE_ROOTFS.
Prior to this patch, the database was not found when using
--rootfs-dir=${IMAGE_ROOTFS}/<x> in the WIC script, leading to erronous file
permissions and ownership.
(From OE-Core rev: a5406116ef647ff0cabc6b9466aa0e34e6a20750)
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09e18ee246da8b56f446c4db548fb9c7e895142b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/buildhistory-collect-srcrevs')
0 files changed, 0 insertions, 0 deletions