diff options
Diffstat (limited to 'scripts/lib/wic/partition.py')
-rw-r--r-- | scripts/lib/wic/partition.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index c0b67d829f..72f2e2708f 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
@@ -208,7 +208,7 @@ class Partition(): | |||
208 | """ | 208 | """ |
209 | p_prefix = os.environ.get("PSEUDO_PREFIX", "%s/usr" % native_sysroot) | 209 | p_prefix = os.environ.get("PSEUDO_PREFIX", "%s/usr" % native_sysroot) |
210 | p_localstatedir = os.environ.get("PSEUDO_LOCALSTATEDIR", | 210 | p_localstatedir = os.environ.get("PSEUDO_LOCALSTATEDIR", |
211 | "%s/../pseudo" % rootfs_dir) | 211 | "%s/../pseudo" % get_bitbake_var("IMAGE_ROOTFS")) |
212 | p_passwd = os.environ.get("PSEUDO_PASSWD", rootfs_dir) | 212 | p_passwd = os.environ.get("PSEUDO_PASSWD", rootfs_dir) |
213 | p_nosymlinkexp = os.environ.get("PSEUDO_NOSYMLINKEXP", "1") | 213 | p_nosymlinkexp = os.environ.get("PSEUDO_NOSYMLINKEXP", "1") |
214 | pseudo = "export PSEUDO_PREFIX=%s;" % p_prefix | 214 | pseudo = "export PSEUDO_PREFIX=%s;" % p_prefix |