[oe-commits] Denis Carikli : netbase and opkg: reorder init scripts to make networking come up at first boot

git version control git at git.openembedded.org
Tue Mar 1 18:26:40 UTC 2011


Module: openembedded.git
Branch: master
Commit: e124d03f532aad2ee22c60fda6824a8a1f2ef88f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e124d03f532aad2ee22c60fda6824a8a1f2ef88f

Author: Denis Carikli <GNUtoo at no-log.org>
Date:   Wed Mar  2 01:45:32 2011 +0000

netbase and opkg: reorder init scripts to make networking come up at first boot

Without that fix, usb0 doesn't come up at first boot
  (tested on the bug machine, with Angstrom on a console-image).

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/netbase/netbase_4.21.bb |    2 +-
 recipes/opkg/files/configure    |    2 +-
 recipes/opkg/opkg.inc           |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/netbase/netbase_4.21.bb b/recipes/netbase/netbase_4.21.bb
index f3ae6e9..075c9db 100644
--- a/recipes/netbase/netbase_4.21.bb
+++ b/recipes/netbase/netbase_4.21.bb
@@ -9,7 +9,7 @@ inherit update-rc.d
 SRC_URI_OVERRIDES_PACKAGE_ARCH = "1"
 
 INITSCRIPT_NAME = "networking"
-INITSCRIPT_PARAMS = "start 40 S . stop 40 0 6 1 ."
+INITSCRIPT_PARAMS = "start 41 S . stop 41 0 6 1 ."
 # On MNCI etc, start very late so that our own apps come up faster
 INITSCRIPT_PARAMS_openmn = "start 85 1 2 3 4 5 . stop 85 0 6 1 ."
 # On SlugOS (NSLU2) delay the stop until after network apps have exited
diff --git a/recipes/opkg/files/configure b/recipes/opkg/files/configure
index d5dd74d..633d8d3 100644
--- a/recipes/opkg/files/configure
+++ b/recipes/opkg/files/configure
@@ -22,4 +22,4 @@ else
 fi
 
 # delete myself
-rm -f /etc/rcS.d/S98configure
+rm -f /etc/rcS.d/S40configure
diff --git a/recipes/opkg/opkg.inc b/recipes/opkg/opkg.inc
index 6970f2f..8980c14 100644
--- a/recipes/opkg/opkg.inc
+++ b/recipes/opkg/opkg.inc
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
 SRCREV = "609"
 PV = "0.1.8+svnr${SRCPV}"
 CONFLICTS = "ipkg"
-INC_PR = "r4"
+INC_PR = "r5"
 
 SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
 	   file://configure \
@@ -17,7 +17,7 @@ inherit autotools pkgconfig
 
 do_install_prepend() {
   install -d ${D}${sysconfdir}/rcS.d
-  install -m 0755 ${WORKDIR}/configure ${D}${sysconfdir}/rcS.d/S98configure
+  install -m 0755 ${WORKDIR}/configure ${D}${sysconfdir}/rcS.d/S40configure
 }
 
 EXTRA_OECONF += " --disable-gpg \ 





More information about the Openembedded-commits mailing list