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:03:51 +0000 |
commit | 03e051d594f285ea3c014d45e9b30028e683c602 (patch) | |
tree | da5581a436baae68b515057b37ad2bd84a1aa0e5 /scripts/lib/wic | |
parent | 3797cfd7473d3f9b7c0d999dcf9cd9608c8c7c6c (diff) | |
download | openembedded-core-03e051d594f285ea3c014d45e9b30028e683c602.tar.gz openembedded-core-03e051d594f285ea3c014d45e9b30028e683c602.tar.bz2 openembedded-core-03e051d594f285ea3c014d45e9b30028e683c602.zip |
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.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
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(): pseudo += "export PSEUDO_LOCALSTATEDIR=%s;" % p_localstatedir pseudo += "export PSEUDO_PASSWD=%s;" % p_passwd pseudo += "export PSEUDO_NOSYMLINKEXP=%s;" % p_nosymlinkexp - pseudo += "%s/usr/bin/pseudo " % native_sysroot + pseudo += "%s " % get_bitbake_var("FAKEROOTCMD") rootfs = "%s/rootfs_%s.%s.%s" % (cr_workdir, self.label, self.lineno, self.fstype) |