From: Marcin Juszkiewicz Date: Wed, 31 Mar 2010 14:18:14 +0000 (+0200) Subject: ifupdown: install init script as executable X-Git-Tag: Release-2010-05/1~152^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0c802f0468ed05bddad5f3cc93e17356e5f77a6;p=openembedded.git ifupdown: install init script as executable Signed-off-by: Marcin Juszkiewicz --- 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