Skip to content
Commit d730fbc2 authored by Felix Moessbauer's avatar Felix Moessbauer Committed by Anuj Mittal
Browse files

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.

Signed-off-by: default avatarFelix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09e18ee2)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent a1dae21b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment