poky/scripts/lib/wic
Felix Moessbauer 44849be60d 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: d730fbc26993c2187c908e57a465536a508e9ee2)

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: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-01 11:20:24 +01:00
..
canned-wks wic: don't forcibly pass -T default 2021-08-12 06:26:15 +01:00
plugins wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions 2022-06-01 11:20:24 +01:00
__init__.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
engine.py wic: use shutil.which 2021-12-13 23:02:49 +00:00
filemap.py wic/filemap: Fall back to standard copy when no way to get the block map 2020-07-18 11:06:31 +01:00
help.py scripts/lib/wic/help.py: Update Fedora Kickstart URLs 2021-11-21 11:41:39 +00:00
ksparser.py wic: Add --no-fstab-update part option 2021-08-20 08:53:03 +01:00
misc.py wic: use shutil.which 2021-12-13 23:02:49 +00:00
partition.py wic: keep rootfs_size as integer 2021-09-19 11:33:14 +01:00
pluginbase.py scripts: Update to use exec_module() instead of load_module() 2022-01-12 22:03:31 +00:00