diff options
author | Vijai Kumar K <vijaikumar.kanagarajan@gmail.com> | 2020-09-01 15:32:33 +0530 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2020-09-02 17:06:38 -1000 |
commit | 2427c872baf1be5ab9e9fcc0a17ee3b267db0edd (patch) | |
tree | dcd0471a2de11b45526ade353668c79c8d8bcb42 /scripts | |
parent | 89cb403fce24c853be49e4190d2020c6911b6a31 (diff) | |
download | openembedded-core-contrib-2427c872baf1be5ab9e9fcc0a17ee3b267db0edd.tar.gz |
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.
Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ca0a6025351cb2135e87cecf828633cf12aa34c6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/misc.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/lib/wic/misc.py b/scripts/lib/wic/misc.py index 1f199b9f23..fe4abe8115 100644 --- a/scripts/lib/wic/misc.py +++ b/scripts/lib/wic/misc.py @@ -128,8 +128,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) |