diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-replace-systemd-install-Alias-with-WantedBy.patch | 52 | ||||
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb | 1 |
2 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-replace-systemd-install-Alias-with-WantedBy.patch b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-replace-systemd-install-Alias-with-WantedBy.patch new file mode 100644 index 0000000000..a476cf040e --- /dev/null +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-replace-systemd-install-Alias-with-WantedBy.patch | |||
@@ -0,0 +1,52 @@ | |||
1 | From 94c401733a5a3d294cc412671166e6adfb409f53 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joshua DeWeese <jdeweese@hennypenny.com> | ||
3 | Date: Wed, 30 Jan 2019 16:19:47 -0500 | ||
4 | Subject: [PATCH] replace systemd install Alias with WantedBy | ||
5 | |||
6 | According to the systemd documentation "WantedBy=foo.service in a | ||
7 | service bar.service is mostly equivalent to | ||
8 | Alias=foo.service.wants/bar.service in the same file." However, | ||
9 | this is not really the intended purpose of install Aliases. | ||
10 | |||
11 | Upstream-Status: Submitted [hostap@lists.infradead.org] | ||
12 | |||
13 | Signed-off-by: Joshua DeWeese <jdeweese@hennypenny.com> | ||
14 | --- | ||
15 | wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in | 2 +- | ||
16 | wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in | 2 +- | ||
17 | wpa_supplicant/systemd/wpa_supplicant.service.arg.in | 2 +- | ||
18 | 3 files changed, 3 insertions(+), 3 deletions(-) | ||
19 | |||
20 | diff --git a/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in | ||
21 | index 03ac507..da69a87 100644 | ||
22 | --- a/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in | ||
23 | +++ b/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in | ||
24 | @@ -12,4 +12,4 @@ Type=simple | ||
25 | ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I | ||
26 | |||
27 | [Install] | ||
28 | -Alias=multi-user.target.wants/wpa_supplicant-nl80211@%i.service | ||
29 | +WantedBy=multi-user.target | ||
30 | diff --git a/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in | ||
31 | index c8a744d..ca3054b 100644 | ||
32 | --- a/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in | ||
33 | +++ b/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in | ||
34 | @@ -12,4 +12,4 @@ Type=simple | ||
35 | ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I | ||
36 | |||
37 | [Install] | ||
38 | -Alias=multi-user.target.wants/wpa_supplicant-wired@%i.service | ||
39 | +WantedBy=multi-user.target | ||
40 | diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in | ||
41 | index 7788b38..55d2b9c 100644 | ||
42 | --- a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in | ||
43 | +++ b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in | ||
44 | @@ -12,4 +12,4 @@ Type=simple | ||
45 | ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I | ||
46 | |||
47 | [Install] | ||
48 | -Alias=multi-user.target.wants/wpa_supplicant@%i.service | ||
49 | +WantedBy=multi-user.target | ||
50 | -- | ||
51 | 2.7.4 | ||
52 | |||
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb index aa4c4c2da0..c92ed4ab93 100644 --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb | |||
@@ -33,6 +33,7 @@ SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \ | |||
33 | file://key-replay-cve-multiple7.patch \ | 33 | file://key-replay-cve-multiple7.patch \ |
34 | file://key-replay-cve-multiple8.patch \ | 34 | file://key-replay-cve-multiple8.patch \ |
35 | file://wpa_supplicant-CVE-2018-14526.patch \ | 35 | file://wpa_supplicant-CVE-2018-14526.patch \ |
36 | file://0001-replace-systemd-install-Alias-with-WantedBy.patch \ | ||
36 | " | 37 | " |
37 | SRC_URI[md5sum] = "091569eb4440b7d7f2b4276dbfc03c3c" | 38 | SRC_URI[md5sum] = "091569eb4440b7d7f2b4276dbfc03c3c" |
38 | SRC_URI[sha256sum] = "b4936d34c4e6cdd44954beba74296d964bc2c9668ecaa5255e499636fe2b1450" | 39 | SRC_URI[sha256sum] = "b4936d34c4e6cdd44954beba74296d964bc2c9668ecaa5255e499636fe2b1450" |