Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] systemd: move libgudev back to $rootlibdir
@ 2014-10-17  6:35 Hongxu Jia
  2014-10-17  6:35 ` [PATCH 1/1] " Hongxu Jia
  2014-10-17  7:17 ` [PATCH 0/1] " Hongxu Jia
  0 siblings, 2 replies; 3+ messages in thread
From: Hongxu Jia @ 2014-10-17  6:35 UTC (permalink / raw)
  To: openembedded-core, ross.burton, Qi.Chen

The following changes since commit ccf5a4d2342c4fd40e4e0b332ea7e34e0bf175d4:

  build-appliance-image: Update to dizzy head revision (2014-10-11 08:11:17 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib hongxu/fix-systemd
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-systemd

Hongxu Jia (1):
  systemd: move libgudev back to $rootlibdir

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

-- 
1.9.1



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

* [PATCH 1/1] systemd: move libgudev back to $rootlibdir
  2014-10-17  6:35 [PATCH 0/1] systemd: move libgudev back to $rootlibdir Hongxu Jia
@ 2014-10-17  6:35 ` Hongxu Jia
  2014-10-17  7:17 ` [PATCH 0/1] " Hongxu Jia
  1 sibling, 0 replies; 3+ messages in thread
From: Hongxu Jia @ 2014-10-17  6:35 UTC (permalink / raw)
  To: openembedded-core, ross.burton, Qi.Chen

While upgrading systemd to 216, we manually moved libgudev to
${rootlibdir} in do_install task to keep backward compatibility.

But libdir in libgudev-1.0.la is still ${libdir}, that caused
libgudev could not be found by libtool.

Add the missing revision to libgudev-1.0.la

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-core/systemd/systemd_216.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_216.bb b/meta/recipes-core/systemd/systemd_216.bb
index ebf9395..053825d 100644
--- a/meta/recipes-core/systemd/systemd_216.bb
+++ b/meta/recipes-core/systemd/systemd_216.bb
@@ -130,7 +130,8 @@ do_install() {
 	fi
 
 	# Move libgudev back to ${rootlibdir} to keep backward compatibility
-	[ ${rootlibdir} != ${libdir} ] && mv -t ${D}${rootlibdir} ${D}${libdir}/libgudev*
+	[ ${rootlibdir} != ${libdir} ] && mv -t ${D}${rootlibdir} ${D}${libdir}/libgudev* && \
+        sed -i "s#^libdir=.*#libdir='${rootlibdir}'#" ${D}${rootlibdir}/libgudev-1.0.la
 
         # Delete journal README, as log can be symlinked inside volatile.
         rm -f ${D}/${localstatedir}/log/README
-- 
1.9.1



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

* Re: [PATCH 0/1] systemd: move libgudev back to $rootlibdir
  2014-10-17  6:35 [PATCH 0/1] systemd: move libgudev back to $rootlibdir Hongxu Jia
  2014-10-17  6:35 ` [PATCH 1/1] " Hongxu Jia
@ 2014-10-17  7:17 ` Hongxu Jia
  1 sibling, 0 replies; 3+ messages in thread
From: Hongxu Jia @ 2014-10-17  7:17 UTC (permalink / raw)
  To: openembedded-core, ross.burton, Qi.Chen

Please drop this, I think Martin's "systemd: don't move libgudev around,
it breaks libgudev-1.0.la" is better. We indeed do not need the "backward
compatibility"

//Hongxu

On 10/17/2014 02:35 PM, Hongxu Jia wrote:
> The following changes since commit ccf5a4d2342c4fd40e4e0b332ea7e34e0bf175d4:
>
>    build-appliance-image: Update to dizzy head revision (2014-10-11 08:11:17 +0100)
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib hongxu/fix-systemd
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-systemd
>
> Hongxu Jia (1):
>    systemd: move libgudev back to $rootlibdir
>
>   meta/recipes-core/systemd/systemd_216.bb | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>



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

end of thread, other threads:[~2014-10-17  7:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-17  6:35 [PATCH 0/1] systemd: move libgudev back to $rootlibdir Hongxu Jia
2014-10-17  6:35 ` [PATCH 1/1] " Hongxu Jia
2014-10-17  7:17 ` [PATCH 0/1] " Hongxu Jia

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