mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
wic: misc: Add /bin to the list of searchpaths
/bin is also a valid path where one can find executables. Add that to the search path. (From OE-Core rev: ca0a6025351cb2135e87cecf828633cf12aa34c6) Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a6b2d978cb
commit
435ec90a67
|
@ -138,8 +138,9 @@ def exec_native_cmd(cmd_and_args, native_sysroot, pseudo=""):
|
|||
if pseudo:
|
||||
cmd_and_args = pseudo + cmd_and_args
|
||||
|
||||
native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin" % \
|
||||
(native_sysroot, native_sysroot, native_sysroot)
|
||||
native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin:%s/bin" % \
|
||||
(native_sysroot, native_sysroot,
|
||||
native_sysroot, native_sysroot)
|
||||
|
||||
native_cmd_and_args = "export PATH=%s:$PATH;%s" % \
|
||||
(native_paths, cmd_and_args)
|
||||
|
|
Loading…
Reference in New Issue
Block a user