diff options
author | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2010-03-31 16:18:14 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2010-03-31 16:18:14 +0200 |
commit | f0c802f0468ed05bddad5f3cc93e17356e5f77a6 (patch) | |
tree | c1be1855251984f3c53a26091626a5be5c78ce16 | |
parent | b762948c49cc9a7ce3a8ca458ca0475a4ecc0584 (diff) |
ifupdown: install init script as executable
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
-rw-r--r-- | recipes/ifupdown/ifupdown_0.6.10.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/ifupdown/ifupdown_0.6.10.bb b/recipes/ifupdown/ifupdown_0.6.10.bb index 6bc4f472df..d492c778b9 100644 --- a/recipes/ifupdown/ifupdown_0.6.10.bb +++ b/recipes/ifupdown/ifupdown_0.6.10.bb @@ -3,8 +3,9 @@ This package provides the tools ifup and ifdown which may be used to \ configure (or, respectively, deconfigure) network interfaces, based on \ the file /etc/network/interfaces." LICENSE = "GPL" - SECTION = "base" +PR = "r1" + SRC_URI = "${DEBIAN_MIRROR}/main/i/ifupdown/ifupdown_${PV}.tar.gz \ file://busybox.patch;patch=1 \ @@ -28,7 +29,7 @@ do_install () { ${D}${base_sbindir} install -m 0755 ifup ${D}${base_sbindir}/ ln ${D}${base_sbindir}/ifup ${D}${base_sbindir}/ifdown - install -m 0644 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ifup + install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ifup install -m 0644 ifup.8 ${D}${mandir}/man8 install -m 0644 interfaces.5 ${D}${mandir}/man5 cd ${D}${mandir}/man8 && ln -s ifup.8 ifdown.8 |