diff options
author | Ricardo Ribalda Delgado <ricardo@ribalda.com> | 2019-07-18 15:13:56 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-19 08:41:40 +0100 |
commit | 58589bc5382b5c77825bc963a1c84a4e8f54498f (patch) | |
tree | 7686606e107336337c65e3a2aadda9cd78a44e46 /scripts/oe-find-native-sysroot | |
parent | 050a96fe030f5669898e8cc6589d37b1e3da365b (diff) | |
download | poky-58589bc5382b5c77825bc963a1c84a4e8f54498f.tar.gz |
wic: Fix (again) partition files UIDs on multi rootfs images
Commit 450335ba5e73a375eb9932b4c4cf37979640dbfc copies the pseudo
database to the working directory in order to have ownership information
when the filesystem is generated.
Unfortunately this does not work anymore. The filenames on the database
are absolute and there is no information about the new directory.
Instead of fixing the database, we could redo a bit the way we patch the
fstab file. Now I am saving the old contents of fstab, modifying the
file and then reverting the changes on exit.
This is faster than the previous approach, although it can cause
indeterminism if the application is killed before finishing.
(From OE-Core rev: dcbf7b864dd1713b54a172d8714ce1508482f086)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-find-native-sysroot')
0 files changed, 0 insertions, 0 deletions