summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/partition.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/partition.py')
-rw-r--r--scripts/lib/wic/partition.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index b02711be37..d850fbd1b1 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -200,13 +200,10 @@ class Partition():
200 p_prefix = os.environ.get("PSEUDO_PREFIX", "%s/usr" % native_sysroot) 200 p_prefix = os.environ.get("PSEUDO_PREFIX", "%s/usr" % native_sysroot)
201 if (pseudo_dir == None): 201 if (pseudo_dir == None):
202 pseudo_dir = "%s/../pseudo" % rootfs_dir 202 pseudo_dir = "%s/../pseudo" % rootfs_dir
203 p_localstatedir = os.environ.get("PSEUDO_LOCALSTATEDIR", pseudo_dir)
204 p_passwd = os.environ.get("PSEUDO_PASSWD", rootfs_dir)
205 p_nosymlinkexp = os.environ.get("PSEUDO_NOSYMLINKEXP", "1")
206 pseudo = "export PSEUDO_PREFIX=%s;" % p_prefix 203 pseudo = "export PSEUDO_PREFIX=%s;" % p_prefix
207 pseudo += "export PSEUDO_LOCALSTATEDIR=%s;" % p_localstatedir 204 pseudo += "export PSEUDO_LOCALSTATEDIR=%s;" % pseudo_dir
208 pseudo += "export PSEUDO_PASSWD=%s;" % p_passwd 205 pseudo += "export PSEUDO_PASSWD=%s;" % rootfs_dir
209 pseudo += "export PSEUDO_NOSYMLINKEXP=%s;" % p_nosymlinkexp 206 pseudo += "export PSEUDO_NOSYMLINKEXP=1;"
210 pseudo += "%s " % get_bitbake_var("FAKEROOTCMD") 207 pseudo += "%s " % get_bitbake_var("FAKEROOTCMD")
211 208
212 rootfs = "%s/rootfs_%s.%s.%s" % (cr_workdir, self.label, 209 rootfs = "%s/rootfs_%s.%s.%s" % (cr_workdir, self.label,