Re: [OE-core] [PATCH] package.bbclass: Add '-b' option to file call in isELF

2018-04-17 Thread Burton, Ross
On 16 April 2018 at 21:49, Peter Kjellerstedt wrote: > There was a discussion last year at the beginning of December related > to this, triggered by a patch series to improve isELF that Olof Johansson > sent: > >

Re: [OE-core] [PATCH] package.bbclass: Add '-b' option to file call in isELF

2018-04-16 Thread Peter Kjellerstedt
ATCH] package.bbclass: Add '-b' option to file > call in isELF > > The isELF function works by running: > >result = file >if 'ELF' in result > > By default 'file' will prepend the result with the path name of the file > that is being checked. This usually works f

[OE-core] [PATCH] package.bbclass: Add '-b' option to file call in isELF

2018-04-16 Thread Mark Hatle
The isELF function works by running: result = file if 'ELF' in result By default 'file' will prepend the result with the path name of the file that is being checked. This usually works fine, such as: $ file /home/foo/openembedded-core/meta/classes/package.bbclass