diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-06-10 21:47:00 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-16 09:39:08 +0200 |
commit | c21e67f8e5ac13d35dd6e4312f19220453c06f0a (patch) | |
tree | 6eb3f2b2b1963b5d74496409225e07502c9a4e00 /meta-oe | |
parent | 87526c2f21b9ae911d74616e0f74b7eef43fa13a (diff) | |
download | meta-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.bb | 13 |
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" | |||
4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b" |
6 | 6 | ||
7 | PR = "r6" | 7 | PR = "r7" |
8 | 8 | ||
9 | DEPENDS = "systemd libnl dbus dbus-glib udev wireless-tools polkit gnutls util-linux ppp" | 9 | DEPENDS = "libnl dbus dbus-glib udev wireless-tools polkit gnutls util-linux ppp" |
10 | inherit gnome gettext systemd | 10 | inherit gnome gettext |
11 | 11 | ||
12 | SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.bz2 \ | 12 | SRC_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 | ||
20 | S = "${WORKDIR}/NetworkManager-${PV}" | 20 | S = "${WORKDIR}/NetworkManager-${PV}" |
21 | 21 | ||
22 | SYSTEMD_UNITDIR ??= "no" | ||
23 | |||
22 | EXTRA_OECONF = " \ | 24 | EXTRA_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 | ||
31 | do_configure_prepend() { | 34 | do_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 | ||
57 | SYSTEMD_PACKAGES = "${PN}" | ||
58 | SYSTEMD_SERVICE = "NetworkManager.service" | ||
59 | |||
60 | PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests" | 60 | PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests" |
61 | 61 | ||
62 | FILES_libnmutil += "${libdir}/libnm-util.so.*" | 62 | FILES_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 | ||
76 | RRECOMMENDS_${PN} += "iptables" | 75 | RRECOMMENDS_${PN} += "iptables" |