From f0c802f0468ed05bddad5f3cc93e17356e5f77a6 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 31 Mar 2010 16:18:14 +0200 Subject: ifupdown: install init script as executable Signed-off-by: Marcin Juszkiewicz --- recipes/ifupdown/ifupdown_0.6.10.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'recipes/ifupdown') 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 -- cgit 1.2.3-korg