summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2012-06-10 21:47:00 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-07-16 09:39:08 +0200
commitc21e67f8e5ac13d35dd6e4312f19220453c06f0a (patch)
tree6eb3f2b2b1963b5d74496409225e07502c9a4e00 /meta-oe
parent87526c2f21b9ae911d74616e0f74b7eef43fa13a (diff)
downloadmeta-openembedded-c21e67f8e5ac13d35dd6e4312f19220453c06f0a.tar.gz
networkmanager: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb13
1 files changed, 6 insertions, 7 deletions
diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb
index 221dc2c7a..e774cb953 100644
--- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb
+++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb
@@ -4,10 +4,10 @@ SECTION = "net/misc"
4LICENSE = "GPLv2+" 4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b" 5LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b"
6 6
7PR = "r6" 7PR = "r7"
8 8
9DEPENDS = "systemd libnl dbus dbus-glib udev wireless-tools polkit gnutls util-linux ppp" 9DEPENDS = "libnl dbus dbus-glib udev wireless-tools polkit gnutls util-linux ppp"
10inherit gnome gettext systemd 10inherit gnome gettext
11 11
12SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.bz2 \ 12SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.bz2 \
13 file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \ 13 file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \
@@ -19,6 +19,8 @@ SRC_URI[sha256sum] = "a178ed2f0b5a1045ec47b217ea531d0feba9208f6bcfe64b701174a5c1
19 19
20S = "${WORKDIR}/NetworkManager-${PV}" 20S = "${WORKDIR}/NetworkManager-${PV}"
21 21
22SYSTEMD_UNITDIR ??= "no"
23
22EXTRA_OECONF = " \ 24EXTRA_OECONF = " \
23 --with-distro=debian \ 25 --with-distro=debian \
24 --with-crypto=gnutls \ 26 --with-crypto=gnutls \
@@ -26,6 +28,7 @@ EXTRA_OECONF = " \
26 --with-dhclient=${base_sbindir}/dhclient \ 28 --with-dhclient=${base_sbindir}/dhclient \
27 --with-iptables=${sbindir}/iptables \ 29 --with-iptables=${sbindir}/iptables \
28 --with-tests \ 30 --with-tests \
31 --with-systemdsystemunitdir=${SYSTEMD_UNITDIR} \
29" 32"
30 33
31do_configure_prepend() { 34do_configure_prepend() {
@@ -54,9 +57,6 @@ do_install_append () {
54 install -d ${D}/etc/NetworkManager/VPN 57 install -d ${D}/etc/NetworkManager/VPN
55} 58}
56 59
57SYSTEMD_PACKAGES = "${PN}"
58SYSTEMD_SERVICE = "NetworkManager.service"
59
60PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests" 60PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests"
61 61
62FILES_libnmutil += "${libdir}/libnm-util.so.*" 62FILES_libnmutil += "${libdir}/libnm-util.so.*"
@@ -70,7 +70,6 @@ FILES_${PN} += " \
70 ${datadir}/polkit-1 \ 70 ${datadir}/polkit-1 \
71 ${datadir}/dbus-1 \ 71 ${datadir}/dbus-1 \
72 ${base_libdir}/udev/* \ 72 ${base_libdir}/udev/* \
73 ${systemd_unitdir}/system/NetworkManager-wait-online.service \
74" 73"
75 74
76RRECOMMENDS_${PN} += "iptables" 75RRECOMMENDS_${PN} += "iptables"