poky/scripts/lib/wic/plugins/source
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
..
bootimg-biosplusefi.py wic/plugins: Source that support both EFI and BIOS 2019-07-23 22:26:28 +01:00
bootimg-efi.py wic/bootimg-efi: Add Unified Kernel Image option 2021-10-04 15:03:53 +01:00
bootimg-partition.py wic: fix typo 2020-08-06 15:12:39 +01:00
bootimg-pcbios.py Use the label provided when formating a dos partition 2021-06-29 22:18:56 +01:00
empty.py wic: Introduce empty plugin to create unformatted empty partitions 2020-12-15 22:51:56 +00:00
isoimage-isohybrid.py isoimage-isohybrid.py: Support adding files/dirs 2020-11-08 14:03:20 +00:00
rawcopy.py Add support for erofs filesystems 2021-05-31 14:31:01 +01:00
rootfs.py wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions 2022-06-01 11:20:24 +01:00