Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V2 0/1] systemd: fix to use ${libdir}
@ 2014-09-14 10:29 Chen Qi
  2014-09-14 10:29 ` [PATCH V2 1/1] " Chen Qi
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2014-09-14 10:29 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 10df0718d6a626d99beb68cde8d914ee0820d7eb:

  classes/populate_sdk_base: enable adding custom commands to SDK install script (2014-09-11 17:44:40 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib ChenQi/systemd-libdir
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/systemd-libdir

Chen Qi (1):
  systemd: fix to use ${libdir}

 meta/recipes-core/systemd/systemd_216.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH V2 1/1] systemd: fix to use ${libdir}
  2014-09-14 10:29 [PATCH V2 0/1] systemd: fix to use ${libdir} Chen Qi
@ 2014-09-14 10:29 ` Chen Qi
  2014-09-14 21:29   ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Qi @ 2014-09-14 10:29 UTC (permalink / raw)
  To: openembedded-core

We need to user ${libdir} instead of ${exec_prefix}/lib.
Otherwise, we would meet do_install errors if multilib is enabled.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/systemd/systemd_216.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_216.bb b/meta/recipes-core/systemd/systemd_216.bb
index bd52891..331da99 100644
--- a/meta/recipes-core/systemd/systemd_216.bb
+++ b/meta/recipes-core/systemd/systemd_216.bb
@@ -129,7 +129,7 @@ do_install() {
 	fi
 
 	# Move libgudev back to ${rootlibdir} to keep backward compatibility
-	[ ${rootlibdir} != ${exec_prefix}/lib ] && mv -t ${D}${rootlibdir} ${D}${exec_prefix}/lib/libgudev*
+	[ ${rootlibdir} != ${libdir} ] && mv -t ${D}${rootlibdir} ${D}${libdir}/libgudev*
 
         # Delete journal README, as log can be symlinked inside volatile.
         rm -f ${D}/${localstatedir}/log/README
@@ -241,7 +241,7 @@ FILES_${PN} = " ${base_bindir}/* \
                 ${rootlibexecdir}/systemd/* \
                 ${systemd_unitdir}/* \
                 ${base_libdir}/security/*.so \
-                ${exec_prefix}/lib/libnss_* \
+                ${libdir}/libnss_* \
                 /cgroup \
                 ${bindir}/systemd* \
                 ${bindir}/busctl \
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH V2 1/1] systemd: fix to use ${libdir}
  2014-09-14 10:29 ` [PATCH V2 1/1] " Chen Qi
@ 2014-09-14 21:29   ` Burton, Ross
  0 siblings, 0 replies; 3+ messages in thread
From: Burton, Ross @ 2014-09-14 21:29 UTC (permalink / raw)
  To: Chen Qi; +Cc: OE-core

On 14 September 2014 11:29, Chen Qi <Qi.Chen@windriver.com> wrote:
> We need to user ${libdir} instead of ${exec_prefix}/lib.

Please clarify in the commit message that this is for the libraries,
not the actual init system.  The init system explicitly installs into
${exec_prefix}/lib.

Also "use" not "user".

Ross


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-14 21:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-14 10:29 [PATCH V2 0/1] systemd: fix to use ${libdir} Chen Qi
2014-09-14 10:29 ` [PATCH V2 1/1] " Chen Qi
2014-09-14 21:29   ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox