[oe-commits] Marcin Juszkiewicz : ifupdown: install init script as executable

git version control git at git.openembedded.org
Wed Mar 31 14:18:27 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f0c802f0468ed05bddad5f3cc93e17356e5f77a6
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f0c802f0468ed05bddad5f3cc93e17356e5f77a6

Author: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Date:   Wed Mar 31 16:18:14 2010 +0200

ifupdown: install init script as executable

Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>

---

 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 6bc4f47..d492c77 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





More information about the Openembedded-commits mailing list