[oe-commits] [openembedded-core] 03/04: uninative: don't try to relocate static binaries
git at git.openembedded.org
git at git.openembedded.org
Fri Mar 25 10:29:58 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 2a1803e64174825d9392094ae6e680a1ac96eb4a
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Thu Mar 24 15:43:48 2016 +0000
uninative: don't try to relocate static binaries
patchelf will understandably error out if there isn't a .interp section to
relocate, so don't try to relocate static binaries.
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/uninative.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index b045a28..0798717 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -127,6 +127,8 @@ python uninative_changeinterp () {
elf.open()
except oe.qa.NotELFFileError:
continue
+ if not elf.isDynamic():
+ continue
try:
subprocess.check_output(("patchelf-uninative", "--set-interpreter",
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list