<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 5/17/19 1:20 PM, Martin Jansa wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+chaQfJUtza+tf-CH41N7RP2RsRzKdpi8236yN3fS1OA_GNJQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">When you're on it, can you please check if it
works with multilib?
<div><br>
</div>
<div>I think $(USRLIBDIR) doesn't respect ${libdir} from OE,
so it always installs the library to /usr/lib instead of
e.g. /usr/lib64 with multlilib.</div>
</div>
</div>
</div>
</blockquote>
<br>
Thank,<br>
<br>
Will do.<br>
<br>
- armin<br>
<blockquote type="cite"
cite="mid:CA+chaQfJUtza+tf-CH41N7RP2RsRzKdpi8236yN3fS1OA_GNJQ@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
<div>e.g. recipes-security/ccs-tools/<a
href="http://ccs-tools_1.8.4.bb" moz-do-not-send="true">ccs-tools_1.8.4.bb</a>
is setting USRLIBDIR=${libdir}, I guess keyutils needs the
same.</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, May 17, 2019 at 6:46
PM Armin Kuster <<a href="mailto:akuster808@gmail.com"
moz-do-not-send="true">akuster808@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by:
Armin Kuster <<a href="mailto:akuster808@gmail.com"
target="_blank" moz-do-not-send="true">akuster808@gmail.com</a>><br>
---<br>
 .../files/fix_library_install_path.patch   | 28
+++++++++++++++++++<br>
 recipes-security/keyutils/<a href="http://keyutils_1.6.bb"
rel="noreferrer" target="_blank" moz-do-not-send="true">keyutils_1.6.bb</a>Â
  | 1 +<br>
 2 files changed, 29 insertions(+)<br>
 create mode 100644
recipes-security/keyutils/files/fix_library_install_path.patch<br>
<br>
diff --git
a/recipes-security/keyutils/files/fix_library_install_path.patch
b/recipes-security/keyutils/files/fix_library_install_path.patch<br>
new file mode 100644<br>
index 0000000..938fe2e<br>
--- /dev/null<br>
+++
b/recipes-security/keyutils/files/fix_library_install_path.patch<br>
@@ -0,0 +1,28 @@<br>
+From b0355cc205543ffd33752874295139d57c4fbc3e Mon Sep 17
00:00:00 2001<br>
+From: Wenzong Fan <<a
href="mailto:wenzong.fan@windriver.com" target="_blank"
moz-do-not-send="true">wenzong.fan@windriver.com</a>><br>
+Date: Tue, 26 Sep 2017 07:59:51 +0000<br>
+Subject: [PATCH] Subject: [PATCH] keyutils: use relative path
for link<br>
+<br>
+The absolute path of the symlink will be invalid<br>
+when populated in sysroot, so use relative path instead.<br>
+<br>
+Upstream-Status: Pending<br>
+<br>
+Signed-off-by: Jackie Huang <<a
href="mailto:jackie.huang@windriver.com" target="_blank"
moz-do-not-send="true">jackie.huang@windriver.com</a>><br>
+Signed-off-by: Wenzong Fan <<a
href="mailto:wenzong.fan@windriver.com" target="_blank"
moz-do-not-send="true">wenzong.fan@windriver.com</a>><br>
+{rebased for 1.6]<br>
+Signed-off-by: Armin Kuster <<a
href="mailto:akuster808@gmail.com" target="_blank"
moz-do-not-send="true">akuster808@gmail.com</a>><br>
+<br>
+Index: keyutils-1.6/Makefile<br>
+===================================================================<br>
+--- keyutils-1.6.orig/Makefile<br>
++++ keyutils-1.6/Makefile<br>
+@@ -184,7 +184,7 @@ ifeq ($(NO_SOLIB),0)<br>
+Â Â Â Â $(INSTALL) -D $(LIBNAME)
$(DESTDIR)$(LIBDIR)/$(LIBNAME)<br>
+Â Â Â Â $(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)<br>
+Â Â Â Â mkdir -p $(DESTDIR)$(USRLIBDIR)<br>
+-Â Â Â $(LNS) $(LIBDIR)/$(SONAME)
$(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)<br>
++Â Â Â $(LNS) $(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)<br>
+Â Â Â Â sed \<br>
+Â Â Â Â -e 's,@VERSION\@,$(VERSION),g' \<br>
+Â Â Â Â -e 's,@prefix\@,$(PREFIX),g' \<br>
diff --git a/recipes-security/keyutils/<a
href="http://keyutils_1.6.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">keyutils_1.6.bb</a>
b/recipes-security/keyutils/<a href="http://keyutils_1.6.bb"
rel="noreferrer" target="_blank" moz-do-not-send="true">keyutils_1.6.bb</a><br>
index c961fa2..2968a24 100644<br>
--- a/recipes-security/keyutils/<a
href="http://keyutils_1.6.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">keyutils_1.6.bb</a><br>
+++ b/recipes-security/keyutils/<a
href="http://keyutils_1.6.bb" rel="noreferrer"
target="_blank" moz-do-not-send="true">keyutils_1.6.bb</a><br>
@@ -19,6 +19,7 @@ SRC_URI = "<a
href="http://people.redhat.com/dhowells/keyutils/$%7BBP%7D.tar.bz2"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://people.redhat.com/dhowells/keyutils/${BP}.tar.bz2</a>
\<br>
      <a class="moz-txt-link-freetext" href="file://keyutils-test-fix-output-format.patch">file://keyutils-test-fix-output-format.patch</a> \<br>
     Â
<a class="moz-txt-link-freetext" href="file://keyutils-fix-error-report-by-adding-default-message.patch">file://keyutils-fix-error-report-by-adding-default-message.patch</a>
\<br>
      <a class="moz-txt-link-freetext" href="file://run-ptest">file://run-ptest</a> \<br>
+Â Â Â Â Â Â <a class="moz-txt-link-freetext" href="file://fix_library_install_path.patch">file://fix_library_install_path.patch</a> \<br>
      "<br>
<br>
 SRC_URI[md5sum] = "191987b0ab46bb5b50efd70a6e6ce808"<br>
-- <br>
2.17.1<br>
<br>
-- <br>
_______________________________________________<br>
yocto mailing list<br>
<a href="mailto:yocto@yoctoproject.org" target="_blank"
moz-do-not-send="true">yocto@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/yocto"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.yoctoproject.org/listinfo/yocto</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
</body>
</html>