diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-01-16 22:58:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-23 12:05:17 +0000 |
commit | 4ab4e155f87cf0d69dcd67f41a411c383e41a6ac (patch) | |
tree | b182914d710193ae9ea71dd5af8ed6300f8f22d6 /scripts/lib/wic | |
parent | dc4a612e60d1155f3502c27f831ee20025df027c (diff) | |
download | poky-4ab4e155f87cf0d69dcd67f41a411c383e41a6ac.tar.gz |
partition.py: use FAKEROOTCMD variable to get path to pseudo
wic used native sysroot to get path to pseudo utility.
This approach doesn't work with recipe specific sysroots.
Using FAKEROOTCMD should fix the issue.
(From OE-Core rev: 03e051d594f285ea3c014d45e9b30028e683c602)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
-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 aa8f8a7948..49d13277c3 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
@@ -226,7 +226,7 @@ class Partition(): | |||
226 | pseudo += "export PSEUDO_LOCALSTATEDIR=%s;" % p_localstatedir | 226 | pseudo += "export PSEUDO_LOCALSTATEDIR=%s;" % p_localstatedir |
227 | pseudo += "export PSEUDO_PASSWD=%s;" % p_passwd | 227 | pseudo += "export PSEUDO_PASSWD=%s;" % p_passwd |
228 | pseudo += "export PSEUDO_NOSYMLINKEXP=%s;" % p_nosymlinkexp | 228 | pseudo += "export PSEUDO_NOSYMLINKEXP=%s;" % p_nosymlinkexp |
229 | pseudo += "%s/usr/bin/pseudo " % native_sysroot | 229 | pseudo += "%s " % get_bitbake_var("FAKEROOTCMD") |
230 | 230 | ||
231 | rootfs = "%s/rootfs_%s.%s.%s" % (cr_workdir, self.label, | 231 | rootfs = "%s/rootfs_%s.%s.%s" % (cr_workdir, self.label, |
232 | self.lineno, self.fstype) | 232 | self.lineno, self.fstype) |