[oe-commits] [openembedded-core] 03/20: staging.bbclass: Fix wrong library paths in sysroot_strip

git at git.openembedded.org git at git.openembedded.org
Sat Nov 23 18:07:53 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit cd180194a7b5402c929b5fd3db96975482b54368
Author: Junling Zheng <zhengjunling at huawei.com>
AuthorDate: Sat Nov 16 22:12:13 2019 +0800

    staging.bbclass: Fix wrong library paths in sysroot_strip
    
    Do not reset libdir and base_libdir in sysroot_strip, and just pass crude
    paths as they will be reset later in strip_execs.
    
    Signed-off-by: Junling Zheng <zhengjunling at huawei.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/staging.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index cca0b7e..7e10895 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -75,8 +75,8 @@ python sysroot_strip () {
 
     dstdir = d.getVar('SYSROOT_DESTDIR')
     pn = d.getVar('PN')
-    libdir = os.path.abspath(dstdir + os.sep + d.getVar("libdir"))
-    base_libdir = os.path.abspath(dstdir + os.sep + d.getVar("base_libdir"))
+    libdir = d.getVar("libdir")
+    base_libdir = d.getVar("base_libdir")
     qa_already_stripped = 'already-stripped' in (d.getVar('INSANE_SKIP_' + pn) or "").split()
     strip_cmd = d.getVar("STRIP")
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list