diff options
author | Joshua DeWeese <jdeweese@hennypenny.com> | 2019-02-07 10:03:02 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-08 23:15:31 +0000 |
commit | 0964920f348a034d0e782e7a34407262597e4743 (patch) | |
tree | 7c28cd950145c37ec5d880a5819127bda218ad71 /meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb | |
parent | 29099c8a49bf9d35514bbc1e77657655598a80cc (diff) | |
download | poky-0964920f348a034d0e782e7a34407262597e4743.tar.gz |
wpa_supplicant: Changed systemd template units
I goofed up the scissor line on the last attempt. Not sure how much it matters,
but here it is correct this time.
Here it is, updated to work with wpa-supplicant_2.6.bb.
-- >8 --
https://www.freedesktop.org/software/systemd/man/systemd.unit.html#WantedBy=
When building root filesystems with any of the wpa_supplicant systemd
template service files enabled (current default is to have them disabled) the
systemd-native-fake script would not process the line:
Alias=multi-user.target.wants/wpa_supplicant@%i.service
appropriately due the the use of "%i."
According to the systemd documentation "WantedBy=foo.service in a service
bar.service is mostly equivalent to Alias=foo.service.wants/bar.service in
the same file." However, this is not really the intended purpose of install
Aliases.
All lines of the form:
Alias=multi-user.target.wants/*%i.service
Were replaced with the following lines:
WantedBy=multi-user.target
(From OE-Core rev: 85f82e94849f1c1b5e150c2e38c03eae19a2b370)
Signed-off-by: Joshua DeWeese <jdeweese@hennypenny.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb')
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.6.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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" |