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-02 16:00:46 +0100 |
| commit | 435ec90a67c309954066236cbbb47b0c58f9717f (patch) | |
| tree | 05dcdd01957903d80414e60f9137e917bd24617e /scripts/lib | |
| parent | a6b2d978cb521b603fbfa180fe31552642dddafe (diff) | |
| download | poky-435ec90a67c309954066236cbbb47b0c58f9717f.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: ca0a6025351cb2135e87cecf828633cf12aa34c6)
Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.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 91975ba151..4b08d649c6 100644 --- a/scripts/lib/wic/misc.py +++ b/scripts/lib/wic/misc.py | |||
| @@ -138,8 +138,9 @@ def exec_native_cmd(cmd_and_args, native_sysroot, pseudo=""): | |||
| 138 | if pseudo: | 138 | if pseudo: |
| 139 | cmd_and_args = pseudo + cmd_and_args | 139 | cmd_and_args = pseudo + cmd_and_args |
| 140 | 140 | ||
| 141 | native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin" % \ | 141 | native_paths = "%s/sbin:%s/usr/sbin:%s/usr/bin:%s/bin" % \ |
| 142 | (native_sysroot, native_sysroot, native_sysroot) | 142 | (native_sysroot, native_sysroot, |
| 143 | native_sysroot, native_sysroot) | ||
| 143 | 144 | ||
| 144 | native_cmd_and_args = "export PATH=%s:$PATH;%s" % \ | 145 | native_cmd_and_args = "export PATH=%s:$PATH;%s" % \ |
| 145 | (native_paths, cmd_and_args) | 146 | (native_paths, cmd_and_args) |
