[oe-commits] Koen Kooi : udev 168: enable systemd support, but package systemd files seperately

git version control git at git.openembedded.org
Thu May 26 13:23:26 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: db5b58fd259ed65603f632dd74e762bfe5e13bf2
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=db5b58fd259ed65603f632dd74e762bfe5e13bf2

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Thu May 26 11:08:09 2011 +0200

udev 168: enable systemd support, but package systemd files seperately

Systemd support in udev only affects 'make install', so no changes for sysvinit based systems

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-oe/recipes-core/udev/udev_168.bb |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-core/udev/udev_168.bb b/meta-oe/recipes-core/udev/udev_168.bb
index 17600b7..c37d087 100644
--- a/meta-oe/recipes-core/udev/udev_168.bb
+++ b/meta-oe/recipes-core/udev/udev_168.bb
@@ -35,7 +35,7 @@ SRC_URI += " \
        file://udev-compat-wrapper-patch \
 "
 
-PR = "r2"
+PR = "r3"
 
 inherit update-rc.d autotools
 
@@ -49,12 +49,15 @@ EXTRA_OECONF += " --with-udev-prefix= \
                   --sbindir=${base_sbindir} \
                   --libexecdir=${base_libdir}/udev \
                   --with-rootlibdir=${base_libdir} \
+                  --with-systemdsystemunitdir=${base_libdir}/systemd/system/ \
 "
 
 INITSCRIPT_NAME = "udev"
 INITSCRIPT_PARAMS = "start 04 S ."
 
-PACKAGES =+ "libudev libgudev udev-utils udev-consolekit"
+PACKAGES =+ "${PN}-systemd libudev libgudev udev-utils udev-consolekit"
+
+FILES_${PN}-systemd = "${base_libdir}/systemd/system/"
 
 FILES_libudev = "${base_libdir}/libudev.so.*"
 FILES_libgudev = "${base_libdir}/libgudev*.so.*"





More information about the Openembedded-commits mailing list