mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
wic: Fix a path to a psuedo state directory (PSEUDO_LOCALSTATEDIR).
In case of 'new_rootfs' the psuedo directory is not copied. Thus
PSEUDO_LOCALSTATEDIR should still point to the dsa
'native_sysroot'/../pseudo. Otherwise PSEUDO_LOCALSTATEDIR points to a not
existing director ('new_rootfs'/../pseudo) and UID and GUID attributes are not
applied to files of the image.
(From OE-Core rev: 4c1741ad08c809c83cd9670b14850687b598e728)
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@cern.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 19642e2d6e015072e4a413f4f57aee65df757cb9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1b8f0fa9b1
commit
e5d7b7d802
@@ -206,7 +206,7 @@ class Partition():
|
||||
"""
|
||||
p_prefix = os.environ.get("PSEUDO_PREFIX", "%s/usr" % native_sysroot)
|
||||
p_localstatedir = os.environ.get("PSEUDO_LOCALSTATEDIR",
|
||||
"%s/../pseudo" % rootfs_dir)
|
||||
"%s/../pseudo" % get_bitbake_var("IMAGE_ROOTFS"))
|
||||
p_passwd = os.environ.get("PSEUDO_PASSWD", rootfs_dir)
|
||||
p_nosymlinkexp = os.environ.get("PSEUDO_NOSYMLINKEXP", "1")
|
||||
pseudo = "export PSEUDO_PREFIX=%s;" % p_prefix
|
||||
|
||||
Reference in New Issue
Block a user