diff options
author | David Vincent <freesilicon@gmail.com> | 2017-03-27 09:37:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-27 20:22:51 +0100 |
commit | 8fdbf9fcf28569de42c2c8d902b93a3ff4d28219 (patch) | |
tree | 4a2d2512171c7cdc3b53528677f1685740f3c1df /meta | |
parent | 94ffc8e0176b18122c8f7b438efcf6a01a6eebe9 (diff) | |
download | poky-8fdbf9fcf28569de42c2c8d902b93a3ff4d28219.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.
(From OE-Core rev: 4e6bf6ea766a0d47f96b3c4682d4f7e81a5763e7)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/ifupdown/ifupdown_0.8.16.bb | 5 |
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 eb8426cb97..5654528ae8 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" | |||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | 18 | ||
19 | inherit update-rc.d update-alternatives | 19 | inherit update-alternatives |
20 | 20 | ||
21 | do_compile () { | 21 | do_compile () { |
22 | chmod a+rx *.pl *.sh | 22 | chmod a+rx *.pl *.sh |
@@ -44,6 +44,3 @@ ALTERNATIVE_${PN} = "ifup ifdown" | |||
44 | 44 | ||
45 | ALTERNATIVE_LINK_NAME[ifup] = "${base_sbindir}/ifup" | 45 | ALTERNATIVE_LINK_NAME[ifup] = "${base_sbindir}/ifup" |
46 | ALTERNATIVE_LINK_NAME[ifdown] = "${base_sbindir}/ifdown" | 46 | ALTERNATIVE_LINK_NAME[ifdown] = "${base_sbindir}/ifdown" |
47 | |||
48 | INITSCRIPT_NAME = "ifup" | ||
49 | INITSCRIPT_PARAMS = "start 39 S . stop 39 0 6 1 ." | ||