]> code.ossystems Code Review - openembedded-core.git/commit
insane: Don't try to run objdump on symlinks
authorPhil Blundell <philb@gnu.org>
Mon, 15 Oct 2012 10:28:00 +0000 (11:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Oct 2012 11:03:30 +0000 (12:03 +0100)
commit91769af1c1175ac9bb43d16d05fb1c8736dd9287
tree81963c0b9e7ab88050ff0c6a8754466eed212c9d
parentbf19eeb9f65e91bf2b5d89e7c0b099c55d7c15ff
insane: Don't try to run objdump on symlinks

If the link is absolute then we might end up reading from a host binary
or a nonexistent path, neither of which will produce useful results and
may result in objdump failure and python backtrace spew.  If the link
does point to a binary within the installation root then we will scan the
pointed-to file at some point anyway so there is no need to do it again.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass