diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2014-10-04 04:27:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-31 10:18:29 +0000 |
commit | a291eb108ba2b276e626c02c6ecd099b2f807515 (patch) | |
tree | 83ddac637f8456666ca90cf86f2464f43a7e902b /meta/recipes-core | |
parent | d0c969eeab1536c5da9813413943cbaa933ec9fe (diff) | |
download | poky-a291eb108ba2b276e626c02c6ecd099b2f807515.tar.gz |
systemd: don't move libgudev around, it breaks libgudev-1.0.la
* libgudev-1.0.la still references /usr/lib and this change was breaking gypsy (detected in navit) and
network-manager-applet
(From OE-Core rev: 7807d1d8b9535a87ba3e5ab7df21a2954708333f)
(From OE-Core rev: 35b72a6d7698c0b89efca2fc64dd473ee684743b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd_216.bb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-core/systemd/systemd_216.bb b/meta/recipes-core/systemd/systemd_216.bb index 598d45e7de..8ded3ede50 100644 --- a/meta/recipes-core/systemd/systemd_216.bb +++ b/meta/recipes-core/systemd/systemd_216.bb | |||
@@ -130,9 +130,6 @@ do_install() { | |||
130 | sed -i s%@UDEVD@%${rootlibexecdir}/systemd/systemd-udevd% ${D}${sysconfdir}/init.d/systemd-udevd | 130 | sed -i s%@UDEVD@%${rootlibexecdir}/systemd/systemd-udevd% ${D}${sysconfdir}/init.d/systemd-udevd |
131 | fi | 131 | fi |
132 | 132 | ||
133 | # Move libgudev back to ${rootlibdir} to keep backward compatibility | ||
134 | [ ${rootlibdir} != ${libdir} ] && mv -t ${D}${rootlibdir} ${D}${libdir}/libgudev* | ||
135 | |||
136 | # Delete journal README, as log can be symlinked inside volatile. | 133 | # Delete journal README, as log can be symlinked inside volatile. |
137 | rm -f ${D}/${localstatedir}/log/README | 134 | rm -f ${D}/${localstatedir}/log/README |
138 | 135 | ||
@@ -172,10 +169,10 @@ python populate_packages_prepend (){ | |||
172 | systemdlibdir = d.getVar("rootlibdir", True) | 169 | systemdlibdir = d.getVar("rootlibdir", True) |
173 | do_split_packages(d, systemdlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True) | 170 | do_split_packages(d, systemdlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True) |
174 | } | 171 | } |
175 | PACKAGES_DYNAMIC += "^lib(udev|gudev|systemd).*" | 172 | PACKAGES_DYNAMIC += "^lib(udev|systemd).*" |
176 | 173 | ||
177 | PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs ${PN}-analyze ${PN}-kernel-install \ | 174 | PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs ${PN}-analyze ${PN}-kernel-install \ |
178 | ${PN}-rpm-macros ${PN}-binfmt ${PN}-pam ${PN}-zsh" | 175 | ${PN}-rpm-macros ${PN}-binfmt ${PN}-pam ${PN}-zsh libgudev" |
179 | 176 | ||
180 | SYSTEMD_PACKAGES = "${PN}-binfmt" | 177 | SYSTEMD_PACKAGES = "${PN}-binfmt" |
181 | SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service" | 178 | SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service" |
@@ -189,6 +186,8 @@ FILES_${PN}-analyze = "${bindir}/systemd-analyze" | |||
189 | FILES_${PN}-initramfs = "/init" | 186 | FILES_${PN}-initramfs = "/init" |
190 | RDEPENDS_${PN}-initramfs = "${PN}" | 187 | RDEPENDS_${PN}-initramfs = "${PN}" |
191 | 188 | ||
189 | FILES_libgudev = "${libdir}/libgudev*${SOLIBS}" | ||
190 | |||
192 | # The test cases need perl and bash to run correctly. | 191 | # The test cases need perl and bash to run correctly. |
193 | RDEPENDS_${PN}-ptest += "perl bash" | 192 | RDEPENDS_${PN}-ptest += "perl bash" |
194 | FILES_${PN}-ptest += "${libdir}/udev/rules.d" | 193 | FILES_${PN}-ptest += "${libdir}/udev/rules.d" |