diff options
author | Vijai Kumar K <vijaikumar.kanagarajan@gmail.com> | 2020-09-01 15:32:33 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-10 19:07:40 +0100 |
commit | 5e01f32330bcad0942a2ae751aa55ecafa00cf13 (patch) | |
tree | 2ea46e5ead1e944543de4f9ea7cfe5edbb20d5da /scripts/lib | |
parent | 554f1c8124cb43d5b40e7b7a38ab8565876e09ab (diff) | |
download | poky-5e01f32330bcad0942a2ae751aa55ecafa00cf13.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.
(From OE-Core rev: 2427c872baf1be5ab9e9fcc0a17ee3b267db0edd)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-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=""): | |||
128 | if pseudo: | 128 | if pseudo: |
129 | cmd_and_args = pseudo + cmd_and_args | 129 | cmd_and_args = pseudo + cmd_and_args |
130 | 130 | ||
131 | native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin" % \ | 131 | native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin:%s/bin" % \ |
132 | (native_sysroot, native_sysroot, native_sysroot) | 132 | (native_sysroot, native_sysroot, |
133 | native_sysroot, native_sysroot) | ||
133 | 134 | ||
134 | native_cmd_and_args = "export PATH=%s:$PATH;%s" % \ | 135 | native_cmd_and_args = "export PATH=%s:$PATH;%s" % \ |
135 | (native_paths, cmd_and_args) | 136 | (native_paths, cmd_and_args) |