summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/networkmanager/files/NetworkManager (renamed from meta/packages/networkmanager/files/25NetworkManager)13
-rw-r--r--meta/packages/networkmanager/networkmanager_svn.bb13
2 files changed, 20 insertions, 6 deletions
diff --git a/meta/packages/networkmanager/files/25NetworkManager b/meta/packages/networkmanager/files/NetworkManager
index 676fde35c5..4522e0107b 100644
--- a/meta/packages/networkmanager/files/25NetworkManager
+++ b/meta/packages/networkmanager/files/NetworkManager
@@ -1,6 +1,17 @@
1#!/bin/sh 1#!/bin/sh
2# 2#
3# NetworkManager startup script 3### BEGIN INIT INFO
4# Provides: NetworkManager
5# Required-Start: $remote_fs dbus hal
6# Required-Stop: $remote_fs dbus hal
7# Should-Start: $syslog
8# Should-Stop: $syslog
9# Default-Start: 2 3 4 5
10# Default-Stop: 0 1 6
11# Short-Description: network connection manager
12# Description: Daemon for automatically switching network
13# connections to the best available connection.
14### END INIT INFO
4 15
5. /etc/profile 16. /etc/profile
6 17
diff --git a/meta/packages/networkmanager/networkmanager_svn.bb b/meta/packages/networkmanager/networkmanager_svn.bb
index d39220bf67..58a15aaa24 100644
--- a/meta/packages/networkmanager/networkmanager_svn.bb
+++ b/meta/packages/networkmanager/networkmanager_svn.bb
@@ -7,12 +7,12 @@ DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools ppp gnome-common"
7RDEPENDS = "hal wpa-supplicant iproute2 dhcp-client" 7RDEPENDS = "hal wpa-supplicant iproute2 dhcp-client"
8 8
9PV = "0.7+svnr${SRCREV}" 9PV = "0.7+svnr${SRCREV}"
10PR = "r5" 10PR = "r6"
11 11
12SRC_URI="svn://svn.gnome.org/svn/NetworkManager/;module=trunk;proto=http \ 12SRC_URI="svn://svn.gnome.org/svn/NetworkManager/;module=trunk;proto=http \
13 file://no-restarts.diff;patch=1;pnum=0 \ 13 file://no-restarts.diff;patch=1;pnum=0 \
14 file://makefile-fix.patch;patch=1 \ 14 file://makefile-fix.patch;patch=1 \
15 file://25NetworkManager \ 15 file://NetworkManager \
16 file://99_networkmanager" 16 file://99_networkmanager"
17 17
18EXTRA_OECONF = " \ 18EXTRA_OECONF = " \
@@ -22,13 +22,16 @@ EXTRA_OECONF = " \
22 22
23S = "${WORKDIR}/trunk" 23S = "${WORKDIR}/trunk"
24 24
25inherit autotools pkgconfig 25inherit autotools pkgconfig update-rc.d
26
27INITSCRIPT_NAME = "NetworkManager"
28INITSCRIPT_PARAMS = "defaults 22"
26 29
27do_install_append () { 30do_install_append () {
28 install -d ${D}/etc/default/volatiles 31 install -d ${D}/etc/default/volatiles
29 install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles 32 install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles
30 install -d ${D}/etc/dbus-1/event.d 33 # This overwrites the provided init script
31 install -m 0755 ${WORKDIR}/25NetworkManager ${D}/etc/dbus-1/event.d 34 install -m 0755 ${WORKDIR}/NetworkManager ${D}/etc/init.d/
32} 35}
33 36
34do_stage () { 37do_stage () {