Skip to content
Commit 09e18ee2 authored by Felix Moessbauer's avatar Felix Moessbauer Committed by Richard Purdie
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>
parent be61b9da
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