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

Hongxu Jia hongxu.jia at windriver.com
Tue Feb 25 10:54:16 UTC 2014


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
...

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




More information about the Openembedded-devel mailing list