systemd: fix to use ${libdir}
v2 cover systemd: fix to use ${libdir}
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(-)
Signature · 1 line
1.9.1
PATCH v2 1/1 systemd: fix to use ${libdir}
We need to user ${libdir} instead of ${exec_prefix}/lib. Otherwise, we would meet do_install errors if multilib is enabled.
--- meta/recipes-core/systemd/systemd_216.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/systemd/systemd_216.bb +2 -2
@@ -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 \
Signature · 1 line
1.9.1
Quoted 1 line · Chen Qi
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