diff options
Diffstat (limited to 'meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb')
-rw-r--r-- | meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb b/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb index b6fc8a4d41..49c7fd71b1 100644 --- a/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb +++ b/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb | |||
@@ -2,9 +2,8 @@ SUMMARY = "Basic TCP/IP networking init scripts and configuration files" | |||
2 | DESCRIPTION = "This package provides high level tools to configure network interfaces" | 2 | DESCRIPTION = "This package provides high level tools to configure network interfaces" |
3 | HOMEPAGE = "http://packages.debian.org/ifupdown" | 3 | HOMEPAGE = "http://packages.debian.org/ifupdown" |
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPL-2.0-only" |
6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/copyright;md5=3dd6192d306f582dee7687da3d8748ab" | 6 | LIC_FILES_CHKSUM = "file://${S}/copyright;md5=3dd6192d306f582dee7687da3d8748ab" |
7 | PR = "r7" | ||
8 | 7 | ||
9 | inherit update-rc.d | 8 | inherit update-rc.d |
10 | 9 | ||
@@ -24,18 +23,18 @@ do_install () { | |||
24 | ${D}${sysconfdir}/network/if-up.d \ | 23 | ${D}${sysconfdir}/network/if-up.d \ |
25 | ${D}${sysconfdir}/network/if-down.d \ | 24 | ${D}${sysconfdir}/network/if-down.d \ |
26 | ${D}${sysconfdir}/network/if-post-down.d | 25 | ${D}${sysconfdir}/network/if-post-down.d |
27 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/networking | 26 | install -m 0755 ${S}/init ${D}${sysconfdir}/init.d/networking |
28 | install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces | 27 | install -m 0644 ${S}/interfaces ${D}${sysconfdir}/network/interfaces |
29 | install -m 0755 ${WORKDIR}/nfsroot ${D}${sysconfdir}/network/if-pre-up.d | 28 | install -m 0755 ${S}/nfsroot ${D}${sysconfdir}/network/if-pre-up.d |
30 | } | 29 | } |
31 | 30 | ||
32 | do_install_append_qemuall () { | 31 | do_install:append:qemuall () { |
33 | # Disable network manager on machines that commonly do NFS booting | 32 | # Disable network manager on machines that commonly do NFS booting |
34 | touch ${D}${sysconfdir}/network/nm-disabled-eth0 | 33 | touch ${D}${sysconfdir}/network/nm-disabled-eth0 |
35 | } | 34 | } |
36 | 35 | ||
37 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 36 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
38 | RDEPENDS_${PN} = "netbase" | 37 | RDEPENDS:${PN} = "netbase" |
39 | RCONFLICTS_${PN} = "netbase (< 1:5.0)" | 38 | RCONFLICTS:${PN} = "netbase (< 1:5.0)" |
40 | 39 | ||
41 | CONFFILES_${PN} = "${sysconfdir}/network/interfaces" | 40 | CONFFILES:${PN} = "${sysconfdir}/network/interfaces" |