diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2024-03-21 12:44:09 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-23 10:16:56 +0000 |
commit | 1aa19b9e34ebe6f39a25364073fed4c069f650e8 (patch) | |
tree | 24fd735249ae14363062dece389cba72cd4b7c67 /meta/recipes-support/bmaptool/bmaptool_git.bb | |
parent | 50b6b938ec91dee346642b95cdcb35043be1697c (diff) | |
download | openembedded-core-1aa19b9e34ebe6f39a25364073fed4c069f650e8.tar.gz |
toolchain-shar-relocate.sh: Add check for missing command 'file'
On a machine without the file command, the SDK install fails with a
cryptic error message.
```
xargs: file: No such file or directory
sed: no input files
Failed to replace perl. Relocate script failed. Abort!
```
Add a test for 'file' to print a clear error message.
```
The command 'file' is required by the relocation script, please install it first. Abort!
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/bmaptool/bmaptool_git.bb')
0 files changed, 0 insertions, 0 deletions