diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch | 23 | ||||
-rw-r--r-- | meta/recipes-core/ifupdown/files/inet-6-.defn-fix-inverted-checks-for-loopback.patch | 403 | ||||
-rw-r--r-- | meta/recipes-core/ifupdown/ifupdown_0.8.35.bb (renamed from meta/recipes-core/ifupdown/ifupdown_0.8.22.bb) | 12 |
3 files changed, 29 insertions, 409 deletions
diff --git a/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch b/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch new file mode 100644 index 0000000000..57c8d04fd7 --- /dev/null +++ b/meta/recipes-core/ifupdown/files/0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From 7ace0656bd325f9e7749f2cde641eddc057bc98a Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 9 Jan 2020 15:38:06 +0100 | ||
4 | Subject: [PATCH] Makefile: do not use dpkg for determining OS type | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe-core specific] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | Makefile | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/Makefile b/Makefile | ||
13 | index 0ce2fa3..739aef2 100644 | ||
14 | --- a/Makefile | ||
15 | +++ b/Makefile | ||
16 | @@ -1,6 +1,6 @@ | ||
17 | VERSION ?= 0.8 | ||
18 | CFLAGS ?= -Wall -W -Wno-unused-parameter -g -O2 | ||
19 | -ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) | ||
20 | +ARCH := linux | ||
21 | |||
22 | BASEDIR ?= $(DESTDIR) | ||
23 | |||
diff --git a/meta/recipes-core/ifupdown/files/inet-6-.defn-fix-inverted-checks-for-loopback.patch b/meta/recipes-core/ifupdown/files/inet-6-.defn-fix-inverted-checks-for-loopback.patch deleted file mode 100644 index 5b0d51d736..0000000000 --- a/meta/recipes-core/ifupdown/files/inet-6-.defn-fix-inverted-checks-for-loopback.patch +++ /dev/null | |||
@@ -1,403 +0,0 @@ | |||
1 | From 6fce99c9e42cbacde1855473b745ca1fded3fbf7 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Maxin B. John" <maxin.john@intel.com> | ||
3 | Date: Wed, 21 Dec 2016 15:32:07 +0200 | ||
4 | Subject: [PATCH 2/2] inet[6].defn: fix inverted checks for loopback | ||
5 | |||
6 | Compared to the hurd link.defn for loopback, we see these | ||
7 | are inverted, meaning that you would only be able to configure | ||
8 | a loopback device that was _not_ named "lo" (unlikely to exist). | ||
9 | |||
10 | The result was that we'd update /run/network/ifstate for "lo" | ||
11 | but never actually do anything for up/down, as shown below: | ||
12 | |||
13 | root@localhost:~# ifconfig -s | ||
14 | Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg | ||
15 | eth0 1500 0 7736329 0 2016 0 5289422 0 0 0 BMRU | ||
16 | lo 65536 0 18 0 0 0 18 0 0 0 LRU | ||
17 | root@localhost:~# ifdown lo | ||
18 | root@localhost:~# echo $? | ||
19 | 0 | ||
20 | root@localhost:~# ifconfig -s | ||
21 | Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg | ||
22 | eth0 1500 0 7736406 0 2016 0 5289455 0 0 0 BMRU | ||
23 | lo 65536 0 18 0 0 0 18 0 0 0 LRU | ||
24 | root@localhost:~# ifconfig lo down | ||
25 | root@localhost:~# ifconfig -s | ||
26 | Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg | ||
27 | eth0 1500 0 7736474 0 2016 0 5289481 0 0 0 BMRU | ||
28 | root@localhost:~# | ||
29 | |||
30 | Also reverted the commit: | ||
31 | commit 80b878497663dae08f70b4d3cffe127b57a3cfc | ||
32 | which uses absolute paths to binaries called by ifup/ifdown. | ||
33 | |||
34 | Upstream-Status: Inappropriate [OE specific] | ||
35 | |||
36 | Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> | ||
37 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
38 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
39 | --- | ||
40 | inet.defn | 134 +++++++++++++++++++++++++++--------------------------- | ||
41 | 1 file changed, 67 insertions(+), 67 deletions(-) | ||
42 | |||
43 | diff --git a/inet.defn b/inet.defn | ||
44 | index 182b56b..31067bc 100644 | ||
45 | --- a/inet.defn | ||
46 | +++ b/inet.defn | ||
47 | @@ -6,10 +6,10 @@ method loopback | ||
48 | This method may be used to define the IPv4 loopback interface. | ||
49 | |||
50 | up | ||
51 | - /bin/ip link set dev %iface% up if (!iface_is_lo()) | ||
52 | + ip link set dev %iface% up if (!iface_is_lo()) | ||
53 | |||
54 | down | ||
55 | - /bin/ip link set dev %iface% down if (!iface_is_lo()) | ||
56 | + ip link set dev %iface% down if (!iface_is_lo()) | ||
57 | |||
58 | method static | ||
59 | description | ||
60 | @@ -36,17 +36,17 @@ method static | ||
61 | broadcast compute_v4_broadcast | ||
62 | |||
63 | up | ||
64 | - /bin/ip addr add %address%[[/%netmask%]] [[broadcast %broadcast%]] \ | ||
65 | + ip addr add %address%[[/%netmask%]] [[broadcast %broadcast%]] \ | ||
66 | [[peer %pointopoint%]] [[scope %scope%]] dev %iface% label %iface% | ||
67 | - /bin/ip link set dev %iface% [[mtu %mtu%]] [[address %hwaddress%]] up | ||
68 | + ip link set dev %iface% [[mtu %mtu%]] [[address %hwaddress%]] up | ||
69 | |||
70 | - [[ /bin/ip route add default via %gateway% [[metric %metric%]] dev %iface% onlink ]] | ||
71 | + [[ ip route add default via %gateway% [[metric %metric%]] dev %iface% onlink ]] | ||
72 | |||
73 | down | ||
74 | - [[ /bin/ip route del default via %gateway% [[metric %metric%]] dev %iface% 2>&1 1>/dev/null || true ]] | ||
75 | - /bin/ip addr del %address%[[/%netmask%]] [[broadcast %broadcast%]] \ | ||
76 | + [[ ip route del default via %gateway% [[metric %metric%]] dev %iface% 2>&1 1>/dev/null || true ]] | ||
77 | + ip addr del %address%[[/%netmask%]] [[broadcast %broadcast%]] \ | ||
78 | [[peer %pointopoint%]] [[scope %scope%]] dev %iface% label %iface% | ||
79 | - /bin/ip link set dev %iface% down \ | ||
80 | + ip link set dev %iface% down \ | ||
81 | if (iface_is_link()) | ||
82 | |||
83 | method manual | ||
84 | @@ -63,12 +63,12 @@ method manual | ||
85 | hwaddress cleanup_hwaddress | ||
86 | |||
87 | up | ||
88 | - [[/bin/ip link set dev %iface% mtu %mtu%]] | ||
89 | - [[/bin/ip link set dev %iface% address %hwaddress%]] | ||
90 | - /bin/ip link set dev %iface% up 2>/dev/null || true | ||
91 | + [[ip link set dev %iface% mtu %mtu%]] | ||
92 | + [[ip link set dev %iface% address %hwaddress%]] | ||
93 | + ip link set dev %iface% up 2>/dev/null || true | ||
94 | |||
95 | down | ||
96 | - /bin/ip link set dev %iface% down 2>/dev/null || true \ | ||
97 | + ip link set dev %iface% down 2>/dev/null || true \ | ||
98 | if (iface_is_link() && !do_all) | ||
99 | |||
100 | method dhcp | ||
101 | @@ -93,33 +93,33 @@ method dhcp | ||
102 | hwaddress cleanup_hwaddress | ||
103 | |||
104 | up | ||
105 | - [[/bin/ip link set dev %iface% address %hwaddress%]] | ||
106 | - /sbin/dhclient -4 -v -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \ | ||
107 | + [[ip link set dev %iface% address %hwaddress%]] | ||
108 | + dhclient -4 -v -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \ | ||
109 | [[-e IF_METRIC=%metric%]] \ | ||
110 | if (execable("/sbin/dhclient")) | ||
111 | - /sbin/pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \ | ||
112 | + pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \ | ||
113 | elsif (execable("/sbin/pump")) | ||
114 | - /sbin/udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \ | ||
115 | + udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \ | ||
116 | elsif (execable("/sbin/udhcpc")) | ||
117 | - /sbin/dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ | ||
118 | + dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ | ||
119 | [[-l %leasetime%]] [[-m %metric%]] %iface% \ | ||
120 | elsif (execable("/sbin/dhcpcd")) | ||
121 | echo 'No DHCP client software found!' >/dev/stderr; false \ | ||
122 | elsif (1) | ||
123 | |||
124 | down | ||
125 | - /sbin/dhclient -4 -v -r -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \ | ||
126 | + dhclient -4 -v -r -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \ | ||
127 | if (execable("/sbin/dhclient")) | ||
128 | - /sbin/pump -i %iface% -r \ | ||
129 | + pump -i %iface% -r \ | ||
130 | elsif (execable("/sbin/pump")) | ||
131 | if test -f /run/udhcpc.%iface%.pid; then kill -USR2 $(/bin/cat /run/udhcpc.%iface%.pid); kill -TERM $(/bin/cat /run/udhcpc.%iface%.pid); fi \ | ||
132 | elsif (execable("/sbin/udhcpc")) | ||
133 | - /sbin/dhcpcd -k %iface% \ | ||
134 | + dhcpcd -k %iface% \ | ||
135 | elsif (execable("/sbin/dhcpcd")) | ||
136 | echo 'No DHCP client software found!' >/dev/stderr; false \ | ||
137 | elsif (1) | ||
138 | |||
139 | - /bin/ip link set dev %iface% down \ | ||
140 | + ip link set dev %iface% down \ | ||
141 | if (iface_is_link()) | ||
142 | |||
143 | method bootp | ||
144 | @@ -134,11 +134,11 @@ method bootp | ||
145 | whatever it really is. | ||
146 | |||
147 | up | ||
148 | - /sbin/bootpc [[--bootfile %bootfile%]] --dev %iface% [[--server %server%]] \ | ||
149 | + bootpc [[--bootfile %bootfile%]] --dev %iface% [[--server %server%]] \ | ||
150 | [[--hwaddr %hwaddr%]] --returniffail --serverbcast | ||
151 | |||
152 | down | ||
153 | - /bin/ip link set dev %iface% down \ | ||
154 | + ip link set dev %iface% down \ | ||
155 | if (iface_is_link()) | ||
156 | |||
157 | method tunnel | ||
158 | @@ -158,13 +158,13 @@ method tunnel | ||
159 | ttl time -- TTL setting | ||
160 | mtu size -- MTU size | ||
161 | up | ||
162 | - /bin/ip tunnel add %iface% mode %mode% remote %endpoint% [[local %local%]] \ | ||
163 | + ip tunnel add %iface% mode %mode% remote %endpoint% [[local %local%]] \ | ||
164 | [[ttl %ttl%]] | ||
165 | - /bin/ip link set %iface% up [[mtu %mtu%]] | ||
166 | - /bin/ip addr add %address%/%netmask% dev %iface% [[peer %dstaddr%]] | ||
167 | - [[ /bin/ip route add default via %gateway% [[metric %metric%]] dev %iface% onlink ]] | ||
168 | + ip link set %iface% up [[mtu %mtu%]] | ||
169 | + ip addr add %address%/%netmask% dev %iface% [[peer %dstaddr%]] | ||
170 | + [[ ip route add default via %gateway% [[metric %metric%]] dev %iface% onlink ]] | ||
171 | down | ||
172 | - /bin/ip tunnel del %iface% | ||
173 | + ip tunnel del %iface% | ||
174 | |||
175 | method ppp | ||
176 | description | ||
177 | @@ -175,9 +175,9 @@ method ppp | ||
178 | unit number -- Use /number/ as the ppp unit number. | ||
179 | options string -- Pass /string/ as additional options to pon. | ||
180 | up | ||
181 | - /usr/bin/pon [[%provider%]] [[unit %unit%]] [[%options%]] | ||
182 | + pon [[%provider%]] [[unit %unit%]] [[%options%]] | ||
183 | down | ||
184 | - /usr/bin/poff [[%provider%]] | ||
185 | + poff [[%provider%]] | ||
186 | |||
187 | method wvdial | ||
188 | description | ||
189 | @@ -186,10 +186,10 @@ method wvdial | ||
190 | options | ||
191 | provider name -- Use /name/ as the provider (from /etc/wvdial.conf). | ||
192 | up | ||
193 | - /sbin/start-stop-daemon --start -x /usr/bin/wvdial \ | ||
194 | + start-stop-daemon --start -x /usr/bin/wvdial \ | ||
195 | -p /run/wvdial.%iface%.pid -b -m -- [[ %provider% ]] | ||
196 | down | ||
197 | - /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \ | ||
198 | + start-stop-daemon --stop -x /usr/bin/wvdial \ | ||
199 | -p /run/wvdial.%iface%.pid -s 2 | ||
200 | |||
201 | |||
202 | @@ -200,9 +200,9 @@ method ipv4ll | ||
203 | known as APIPA or IPAC, and often colloquially referred to | ||
204 | as "Zeroconf address". | ||
205 | up | ||
206 | - /usr/sbin/avahi-autoipd -D %iface% | ||
207 | + avahi-autoipd -D %iface% | ||
208 | down | ||
209 | - /usr/sbin/avahi-autoipd --kill %iface% | ||
210 | + avahi-autoipd --kill %iface% | ||
211 | |||
212 | architecture kfreebsd | ||
213 | |||
214 | @@ -211,11 +211,11 @@ method loopback | ||
215 | This method may be used to define the IPv4 loopback interface. | ||
216 | |||
217 | up | ||
218 | - /sbin/ifconfig %iface% 127.0.0.1 up \ | ||
219 | + ifconfig %iface% 127.0.0.1 up \ | ||
220 | if (!iface_is_lo()) | ||
221 | |||
222 | down | ||
223 | - /sbin/ifconfig %iface% down \ | ||
224 | + ifconfig %iface% down \ | ||
225 | if (!iface_is_lo()) | ||
226 | |||
227 | method static | ||
228 | @@ -238,15 +238,15 @@ method static | ||
229 | hwaddress cleanup_hwaddress | ||
230 | |||
231 | up | ||
232 | - [[ /sbin/ifconfig %iface% link %hwaddress%]] | ||
233 | - /sbin/ifconfig %iface% %address% [[netmask %netmask%]] [[broadcast %broadcast%]] \ | ||
234 | + [[ ifconfig %iface% link %hwaddress%]] | ||
235 | + ifconfig %iface% %address% [[netmask %netmask%]] [[broadcast %broadcast%]] \ | ||
236 | [[pointopoint %pointopoint%]] [[media %media%]] [[mtu %mtu%]] \ | ||
237 | up | ||
238 | - [[ /sbin/route add default %gateway% ]] | ||
239 | + [[ route add default %gateway% ]] | ||
240 | |||
241 | down | ||
242 | - [[ /sbin/route del default %gateway% 2>&1 1>/dev/null || true ]] | ||
243 | - /sbin/ifconfig %iface% down | ||
244 | + [[ route del default %gateway% 2>&1 1>/dev/null || true ]] | ||
245 | + ifconfig %iface% down | ||
246 | |||
247 | method manual | ||
248 | description | ||
249 | @@ -279,30 +279,30 @@ method dhcp | ||
250 | hwaddress cleanup_hwaddress | ||
251 | |||
252 | up | ||
253 | - [[/sbin/ifconfig %iface% link %hwaddress%]] | ||
254 | - /sbin/dhclient -4 -v -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \ | ||
255 | + [[ifconfig %iface% link %hwaddress%]] | ||
256 | + dhclient -4 -v -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \ | ||
257 | [[-e IF_METRIC=%metric%]] \ | ||
258 | if (execable("/sbin/dhclient")) | ||
259 | - /sbin/udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \ | ||
260 | + udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \ | ||
261 | [[-c %client%]] \ | ||
262 | elsif (execable("/sbin/udhcpc")) | ||
263 | - /sbin/dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ | ||
264 | + dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ | ||
265 | [[-l %leasetime%]] %iface% \ | ||
266 | elsif (execable("/sbin/dhcpcd")) | ||
267 | echo 'No DHCP client software found!' >/dev/stderr; false \ | ||
268 | elsif (1) | ||
269 | |||
270 | down | ||
271 | - /sbin/dhclient -4 -v -r -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \ | ||
272 | + dhclient -4 -v -r -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \ | ||
273 | if (execable("/sbin/dhclient")) | ||
274 | if test -f /run/udhcpc.%iface%.pid; then kill -USR2 $(/bin/cat /run/udhcpc.%iface%.pid); kill -TERM $(/bin/cat /run/udhcpc.%iface%.pid); fi \ | ||
275 | elsif (execable("/sbin/udhcpc")) | ||
276 | - /sbin/dhcpcd -k %iface% \ | ||
277 | + dhcpcd -k %iface% \ | ||
278 | elsif (execable("/sbin/dhcpcd")) | ||
279 | echo 'No DHCP client software found!' >/dev/stderr; false \ | ||
280 | elsif (1) | ||
281 | |||
282 | - /sbin/ifconfig %iface% down | ||
283 | + ifconfig %iface% down | ||
284 | |||
285 | method bootp | ||
286 | description | ||
287 | @@ -316,11 +316,11 @@ method bootp | ||
288 | whatever it really is. | ||
289 | |||
290 | up | ||
291 | - /sbin/bootpc [[--bootfile %bootfile%]] --dev %iface% [[--server %server%]] \ | ||
292 | + bootpc [[--bootfile %bootfile%]] --dev %iface% [[--server %server%]] \ | ||
293 | [[--hwaddr %hwaddr%]] --returniffail --serverbcast | ||
294 | |||
295 | down | ||
296 | - /sbin/ifconfig %iface% down | ||
297 | + ifconfig %iface% down | ||
298 | |||
299 | method ppp | ||
300 | description | ||
301 | @@ -331,9 +331,9 @@ method ppp | ||
302 | unit number -- Use /number/ as the ppp unit number. | ||
303 | options string -- Pass /string/ as additional options to pon. | ||
304 | up | ||
305 | - /usr/bin/pon [[%provider%]] [[unit %unit%]] [[%options%]] | ||
306 | + pon [[%provider%]] [[unit %unit%]] [[%options%]] | ||
307 | down | ||
308 | - /usr/bin/poff [[%provider%]] | ||
309 | + poff [[%provider%]] | ||
310 | |||
311 | method wvdial | ||
312 | description | ||
313 | @@ -342,10 +342,10 @@ method wvdial | ||
314 | options | ||
315 | provider name -- Use /name/ as the provider (from /etc/wvdial.conf). | ||
316 | up | ||
317 | - /sbin/start-stop-daemon --start -x /usr/bin/wvdial \ | ||
318 | + start-stop-daemon --start -x /usr/bin/wvdial \ | ||
319 | -p /run/wvdial.%iface%.pid -b -m -- [[ %provider% ]] | ||
320 | down | ||
321 | - /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \ | ||
322 | + start-stop-daemon --stop -x /usr/bin/wvdial \ | ||
323 | -p /run/wvdial.%iface%.pid -s 2 | ||
324 | |||
325 | |||
326 | @@ -356,9 +356,9 @@ method ipv4ll | ||
327 | known as APIPA or IPAC, and often colloquially referred to | ||
328 | as "Zeroconf address". | ||
329 | up | ||
330 | - /usr/sbin/avahi-autoipd -D %iface% | ||
331 | + avahi-autoipd -D %iface% | ||
332 | down | ||
333 | - /usr/sbin/avahi-autoipd --kill %iface% | ||
334 | + avahi-autoipd --kill %iface% | ||
335 | architecture hurd | ||
336 | |||
337 | method loopback | ||
338 | @@ -432,23 +432,23 @@ method dhcp | ||
339 | |||
340 | up | ||
341 | [[Warning: Option hwaddress: %hwaddress% not yet supported]] | ||
342 | - /sbin/dhclient -4 -v -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \ | ||
343 | + dhclient -4 -v -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \ | ||
344 | if (execable("/sbin/dhclient")) | ||
345 | - /sbin/udhcpc -n -p /run/udhcpc.%iface///.%.pid -i %iface% [[-H %hostname%]] \ | ||
346 | + udhcpc -n -p /run/udhcpc.%iface///.%.pid -i %iface% [[-H %hostname%]] \ | ||
347 | [[-c %client%]] \ | ||
348 | elsif (execable("/sbin/udhcpc")) | ||
349 | - /sbin/dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ | ||
350 | + dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \ | ||
351 | [[-l %leasetime%]] %iface% \ | ||
352 | elsif (execable("/sbin/dhcpcd")) | ||
353 | echo 'No DHCP client software found!' >/dev/stderr; false \ | ||
354 | elsif (1) | ||
355 | |||
356 | down | ||
357 | - /sbin/dhclient -4 -v -r -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \ | ||
358 | + dhclient -4 -v -r -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \ | ||
359 | if (execable("/sbin/dhclient")) | ||
360 | if test -f /run/udhcpc.%iface///.%.pid; then kill -USR2 $(/bin/cat /run/udhcpc.%iface///.%.pid); kill -TERM $(/bin/cat /run/udhcpc.%iface///.%.pid); fi \ | ||
361 | elsif (execable("/sbin/udhcpc")) | ||
362 | - /sbin/dhcpcd -k %iface% \ | ||
363 | + dhcpcd -k %iface% \ | ||
364 | elsif (execable("/sbin/dhcpcd")) | ||
365 | echo 'No DHCP client software found!' >/dev/stderr; false \ | ||
366 | elsif (1) | ||
367 | @@ -482,9 +482,9 @@ method ppp | ||
368 | unit number -- Use /number/ as the ppp unit number. | ||
369 | options string -- Pass /string/ as additional options to pon. | ||
370 | up | ||
371 | - /usr/bin/pon [[%provider%]] [[unit %unit%]] [[%options%]] | ||
372 | + pon [[%provider%]] [[unit %unit%]] [[%options%]] | ||
373 | down | ||
374 | - /usr/bin/poff [[%provider%]] | ||
375 | + poff [[%provider%]] | ||
376 | |||
377 | method wvdial | ||
378 | description | ||
379 | @@ -493,10 +493,10 @@ method wvdial | ||
380 | options | ||
381 | provider name -- Use /name/ as the provider (from /etc/wvdial.conf). | ||
382 | up | ||
383 | - /sbin/start-stop-daemon --start -x /usr/bin/wvdial \ | ||
384 | + start-stop-daemon --start -x /usr/bin/wvdial \ | ||
385 | -p /run/wvdial.%iface///.%.pid -b -m -- [[ %provider% ]] | ||
386 | down | ||
387 | - /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \ | ||
388 | + start-stop-daemon --stop -x /usr/bin/wvdial \ | ||
389 | -p /run/wvdial.%iface///.%.pid -s 2 | ||
390 | |||
391 | |||
392 | @@ -507,6 +507,6 @@ method ipv4ll | ||
393 | known as APIPA or IPAC, and often colloquially referred to | ||
394 | as "Zeroconf address". | ||
395 | up | ||
396 | - /usr/sbin/avahi-autoipd -D %iface% | ||
397 | + avahi-autoipd -D %iface% | ||
398 | down | ||
399 | - /usr/sbin/avahi-autoipd --kill %iface% | ||
400 | + avahi-autoipd --kill %iface% | ||
401 | -- | ||
402 | 2.17.1 | ||
403 | |||
diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.22.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb index bd0989e885..0de97fe372 100644 --- a/meta/recipes-core/ifupdown/ifupdown_0.8.22.bb +++ b/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb | |||
@@ -7,12 +7,12 @@ LICENSE = "GPLv2" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
8 | 8 | ||
9 | SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https \ | 9 | SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https \ |
10 | file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \ | 10 | file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \ |
11 | file://inet-6-.defn-fix-inverted-checks-for-loopback.patch \ | 11 | file://99_network \ |
12 | file://99_network \ | 12 | file://0001-Define-FNM_EXTMATCH-for-musl.patch \ |
13 | file://0001-Define-FNM_EXTMATCH-for-musl.patch \ | 13 | file://0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch \ |
14 | " | 14 | " |
15 | SRCREV = "ab5a0f464e53e172316a5ca8b5dcdc49e8848999" | 15 | SRCREV = "4af76318cfc57f8e4a44d357104188666213bd4b" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
18 | 18 | ||