[oe] [PATCH] relocatable.bbclass: do not erease already existing ORIGIN

Henning Heinold heinold at inf.fu-berlin.de
Fri Mar 23 21:10:57 UTC 2012


Hi,

while building openjdk I discovered that relocatable.bbclass strips
all PATHS with ORIGIN, that is problematic, when binaries like an jdk
is installed not in the standard paths /lib or /usr/lib.

This patch let all exisiting ORIGIN stay in the binary. So
far I only saw problems with some perl-native libs, where chrpath fails
now, because the path is to long. But it seems they work anyway.

While letting the path stay in binary it occurs that whitespaces at the end
of the last path sneaked some how in. So I made re.sub line to clean this up.

Bye Henning

Henning Heinold (1):
  relocatable.bbclass: do not erease already existing ORIGIN paths and
    sanity resulting rpath

 meta/classes/relocatable.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

-- 
1.7.9.1




More information about the Openembedded-devel mailing list