]> code.ossystems Code Review - openembedded-core.git/commit
toolchain-shar-extract.sh: Ensure sbin directories are in PATH in clean environment
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Mar 2017 22:13:36 +0000 (22:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Mar 2017 14:49:47 +0000 (14:49 +0000)
commit8c49ab40c2ff2e60b717f479822d1a0021735429
tree2e4c459f263c41202cf3aa11a34476303d96d525
parent6486dd71c6c9977e5d67fd803d1bd85001654b5a
toolchain-shar-extract.sh: Ensure sbin directories are in PATH in clean environment

For the PATH host tool whitelisting to work, the sbin directories need to be
in PATH. In the cleaned SDK environment on some distros, this isn't the case
and the SDK would then fail to setup there. This adds code to add such paths
if they do happen to be missing, ugly, but unblocks the PATH whitelisting
which I believe to be important.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/files/toolchain-shar-extract.sh