Merge commit '2d93f2256ad9ed45c61505c208451f9fa00245f7' into dora

This commit is contained in:
Holger Hans Peter Freyther 2015-02-14 14:44:35 +01:00
commit 5d1e296ec5
4 changed files with 17 additions and 3 deletions

View File

@ -68,3 +68,16 @@ Index: ifupdown-0.7.52/execute.c
out = parse(command, ifd);
if (!out) {
return 0;
Index: ifupdown-0.7.52/inet.defn
===================================================================
--- ifupdown-0.7.52.orig/inet.defn
+++ ifupdown-0.7.52/inet.defn
@@ -89,7 +89,7 @@ method dhcp
elsif (execable("/sbin/dhclient3"))
pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \
elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100))
- udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \
+ udhcpc -R -b -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \
elsif (execable("/sbin/udhcpc") && mylinuxver() >= mylinux(2,2,0))
dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \
[[-l %leasetime%]] %iface% \

View File

@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "8a0647c59ee0606f5da9205c5b3c5b000fea98fe39348f6bb2cba5fecf
CFLAGS += "-D'IFUPDOWN_VERSION="0.7"'"
PR = "r1"
PR = "r2"
do_configure() {
chmod a+rx makecdep.sh makenwdep.sh

View File

@ -2,7 +2,8 @@
Description=WIFI scan service
[Service]
EnvironmentFile=/etc/default/odu_gps.conf
ExecStartPre=/sbin/ifconfig wlan0 up
ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 10.3.0.1
ExecStart=/usr/sbin/wifi2udp -w wlan0 -i eth0 ${UDP_SINK}
Restart=always
RestartSec=2

View File

@ -1,7 +1,7 @@
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:"
PRINC="7"
PRINC="8"
SRC_URI += "file://0001-Add-wifi2udp-program.patch \
file://wifi2udp.service"