bitbake: allow fakeroot functionality to be provided by an alternative program
If the variable FAKEROOT is set its value will be used, otherwise we default to fakeroot. Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
parent
4f14e0a240
commit
43f0d63237
|
@ -253,7 +253,7 @@ def exec_func_shell(func, d, runfile, logfile, flags):
|
||||||
|
|
||||||
# execute function
|
# execute function
|
||||||
if flags['fakeroot']:
|
if flags['fakeroot']:
|
||||||
maybe_fakeroot = "PATH=\"%s\" fakeroot " % bb.data.getVar("PATH", d, 1)
|
maybe_fakeroot = "PATH=\"%s\" %s " % (bb.data.getVar("PATH", d, 1), bb.data.getVar("FAKEROOT", d, 1) or "fakeroot")
|
||||||
else:
|
else:
|
||||||
maybe_fakeroot = ''
|
maybe_fakeroot = ''
|
||||||
lang_environment = "LC_ALL=C "
|
lang_environment = "LC_ALL=C "
|
||||||
|
|
Loading…
Reference in New Issue