Re: [OE-core] [PATCH] toolchain-shar-relocate.sh: Add check for missing command 'file'

2024-03-21 Thread Tom Hochstein
Thanks Alexandre, On 3/21/2024 10:19 AM, Alexandre Belloni wrote: Hello Tom, On 16/03/2024 12:35:58-0500, Tom Hochstein wrote: 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

Re: [OE-core] [PATCH] toolchain-shar-relocate.sh: Add check for missing command 'file'

2024-03-21 Thread Alexandre Belloni via lists.openembedded.org
Hello Tom, On 16/03/2024 12:35:58-0500, Tom Hochstein wrote: > 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! > ``` > >

[OE-core] [PATCH] toolchain-shar-relocate.sh: Add check for missing command 'file'

2024-03-16 Thread Tom Hochstein
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