[OE-core] [PATCH] wpa_supplicant: Changed systemd template units
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Feb 5 21:52:14 UTC 2019
On Tue, 2019-02-05 at 11:26 -0500, Joshua DeWeese wrote:
> From: Joshua DeWeese <jdeweese at hennypenny.com>
>
> 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
>
> Signed-off-by: Joshua DeWeese <jdeweese at hennypenny.com>
This patch doesn't seem to apply against master (which has 2.6, not
2.5)?
Cheers,
Richard
More information about the Openembedded-core
mailing list