summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Vincent <freesilicon@gmail.com>2017-03-27 09:37:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-27 20:22:43 +0100
commit4e6bf6ea766a0d47f96b3c4682d4f7e81a5763e7 (patch)
tree2352e1a2e707203970f481e3faa9ca123449b6ee
parentde2ee88f9cc0fc8d6d92ac2a79364e79a99ae98e (diff)
downloadopenembedded-core-contrib-4e6bf6ea766a0d47f96b3c4682d4f7e81a5763e7.tar.gz
ifupdown: Fix initscript
ifupdown does not provide an initscript so this recipe should not inherit update-rc.d class. Instead, we rely on init-ifupdown recipe to startup networking. Signed-off-by: David Vincent <freesilicon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/ifupdown/ifupdown_0.8.16.bb5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb
index eb8426cb970..5654528ae87 100644
--- a/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb
+++ b/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb
@@ -16,7 +16,7 @@ SRCREV = "11b9f99f7ecc7052497e6786156cfed531f11823"
S = "${WORKDIR}/git"
-inherit update-rc.d update-alternatives
+inherit update-alternatives
do_compile () {
chmod a+rx *.pl *.sh
@@ -44,6 +44,3 @@ ALTERNATIVE_${PN} = "ifup ifdown"
ALTERNATIVE_LINK_NAME[ifup] = "${base_sbindir}/ifup"
ALTERNATIVE_LINK_NAME[ifdown] = "${base_sbindir}/ifdown"
-
-INITSCRIPT_NAME = "ifup"
-INITSCRIPT_PARAMS = "start 39 S . stop 39 0 6 1 ."