* [PATCH v2] staging.bbclass: Fix wrong library paths in sysroot_strip
@ 2019-11-16 14:12 Junling Zheng
2019-11-22 4:20 ` Junling Zheng
0 siblings, 1 reply; 2+ messages in thread
From: Junling Zheng @ 2019-11-16 14:12 UTC (permalink / raw)
To: openembedded-core; +Cc: wangnan0
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@huawei.com>
---
v2:
- Fix undefined variable error.
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 cca0b7e0d6..7e108950f5 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")
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] staging.bbclass: Fix wrong library paths in sysroot_strip
2019-11-16 14:12 [PATCH v2] staging.bbclass: Fix wrong library paths in sysroot_strip Junling Zheng
@ 2019-11-22 4:20 ` Junling Zheng
0 siblings, 0 replies; 2+ messages in thread
From: Junling Zheng @ 2019-11-22 4:20 UTC (permalink / raw)
To: openembedded-core; +Cc: wangnan0
ping...
On 2019/11/16 22:12, Junling Zheng wrote:
> 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@huawei.com>
> ---
> v2:
> - Fix undefined variable error.
>
> 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 cca0b7e0d6..7e108950f5 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")
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-22 4:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-16 14:12 [PATCH v2] staging.bbclass: Fix wrong library paths in sysroot_strip Junling Zheng
2019-11-22 4:20 ` Junling Zheng
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.