[oe] [PATCH 1/1] strongswan: fix building lib32-strongswan failed while systemd enabled

Martin Jansa martin.jansa at gmail.com
Wed Feb 26 23:11:50 UTC 2014


On Tue, Feb 25, 2014 at 06:54:16PM +0800, Hongxu Jia wrote:
> While systemd enabled, there was an error to build lib32-strongswan:
> ...
> | ERROR: Function failed: SYSTEMD_SERVICE_lib32-strongswan value
> lib32-strongswan.service does not exist
> ...

Please use [meta-networking] tag in subject so it's easier to filter 
them on patchwork to separate bundles.

> 
> The name of the service file should be the hardcoded
> 'strongswan.service' rather than '${PN}.service', so
> the 'strongswan.service' will be found while building
> lib32-strongswan.
> 
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
>  meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb b/meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb
> index eb49494..e45e81a 100644
> --- a/meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb
> +++ b/meta-networking/recipes-support/strongswan/strongswan_5.0.0.bb
> @@ -33,4 +33,4 @@ INSANE_SKIP_${PN}-plugins = "staticdev"
>  RPROVIDES_${PN} += "${PN}-systemd"
>  RREPLACES_${PN} += "${PN}-systemd"
>  RCONFLICTS_${PN} += "${PN}-systemd"
> -SYSTEMD_SERVICE_${PN} = "${PN}.service"
> +SYSTEMD_SERVICE_${PN} = "strongswan.service"
> -- 
> 1.8.1.2
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140227/f4010d91/attachment-0002.sig>


More information about the Openembedded-devel mailing list