diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-06-09 17:08:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-18 09:14:06 +0100 |
commit | 32ed5f5769499f1ff64043adee498bf4b4fd60bd (patch) | |
tree | f5d691c1da695987ff0211a9b6801df31180aee2 /meta/lib/oeqa/utils | |
parent | 44e036904c0a66a2c88821f49b4989792775cc4f (diff) | |
download | poky-32ed5f5769499f1ff64043adee498bf4b4fd60bd.tar.gz |
recipetool: appendfile: fix file command error handling
* It turns out that not all versions of the file command support the -E
option - the version in Ubuntu 14.04 doesn't support it for example.
This option is supposed to force file to return an error if the file
can't be opened - since we can't rely upon it then fall back to
looking at the output instead. (The results of this issue were simply
that we didn't notice if the file was executable and give a warning,
which tripped an oe-selftest failure - so it was minor.)
* If we receive an error there's not much point looking at the output to
see what type was returned because there wasn't one.
(From OE-Core rev: 7bf9dccef1aa626adc9c45addcd066fed69cace9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils')
0 files changed, 0 insertions, 0 deletions