aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dietze <mdietze@gmail.com>2013-03-01 21:31:26 +0100
committerMartin Dietze <mdietze@gmail.com>2013-03-02 17:27:30 +0100
commitd90b9af45853722f0d088d8b72c39603ec10ff56 (patch)
tree69aebc3967fe1bc16ead3f20ce9698acd9a2ae7d
parent8619794d311bde80e40f6ad2d8c357996bdc1dd7 (diff)
downloadopenembedded-d90b9af45853722f0d088d8b72c39603ec10ff56.zip
openembedded-d90b9af45853722f0d088d8b72c39603ec10ff56.tar.gz
openembedded-d90b9af45853722f0d088d8b72c39603ec10ff56.tar.bz2
nylon-scripts: fixed wireless-extras script (needs /bin/bash, not /bin/sh)
-rwxr-xr-xrecipes/nylon/files/wireless-acl-bash.diff8
-rw-r--r--recipes/nylon/files/wireless-extras-bash.diff8
-rw-r--r--recipes/nylon/nylon-scripts_cvs.bb4
3 files changed, 19 insertions, 1 deletions
diff --git a/recipes/nylon/files/wireless-acl-bash.diff b/recipes/nylon/files/wireless-acl-bash.diff
new file mode 100755
index 0000000..7c5a90b
--- /dev/null
+++ b/recipes/nylon/files/wireless-acl-bash.diff
@@ -0,0 +1,8 @@
+--- nylon-scripts/etc/network/if-pre-up.d/wireless-acl-orig 2013-03-02 03:33:23.000000000 +0100
++++ nylon-scripts/etc/network/if-pre-up.d/wireless-acl 2013-03-02 03:33:32.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+
+ case "$METHOD" in loopback) exit 0 ;; esac
+
diff --git a/recipes/nylon/files/wireless-extras-bash.diff b/recipes/nylon/files/wireless-extras-bash.diff
new file mode 100644
index 0000000..e92547b
--- /dev/null
+++ b/recipes/nylon/files/wireless-extras-bash.diff
@@ -0,0 +1,8 @@
+--- nylon-scripts/etc/network/if-pre-up.d/wireless-extras-orig 2013-03-01 21:12:05.000000000 +0100
++++ nylon-scripts/etc/network/if-pre-up.d/wireless-extras 2013-03-01 21:12:18.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+
+ case "$METHOD" in loopback) exit 0 ;; esac
+
diff --git a/recipes/nylon/nylon-scripts_cvs.bb b/recipes/nylon/nylon-scripts_cvs.bb
index d87e2c1..63946a0 100644
--- a/recipes/nylon/nylon-scripts_cvs.bb
+++ b/recipes/nylon/nylon-scripts_cvs.bb
@@ -11,7 +11,9 @@ PR = "r2"
RDEPENDS = "bash"
SRC_URI = "http://download.berlin.freifunk.net/meshcube.org/nylon/stable/sources/${PN}_gruen.4g__${SRCDATE}.tar.gz \
- file://firewall-bash.diff;patch=1"
+ file://firewall-bash.diff;patch=1 \
+ file://wireless-acl-bash.diff;patch=1 \
+ file://wireless-extras-bash.diff;patch=1"
S = "${WORKDIR}/${PN}"
INHIBIT_PACKAGE_STRIP = "1"