[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4185/8267] partition.py: use FAKEROOTCMD variable to get path to pseudo



commit 4ab4e155f87cf0d69dcd67f41a411c383e41a6ac
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   Mon Jan 16 22:58:14 2017 +0200

    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>

 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 aa8f8a7..49d1327 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]