From 799dc735f830a656b0a04308d878cb8a147ef0be Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Thu, 11 Nov 2021 23:14:17 +0800 Subject: [PATCH] strongswan: add required kernel modules to RRECOMMENDS Strongswan failed to startup because there is no kernel module named ipsec. Add basic kernel modules required by strongswan per [1]. [1] https://wiki.strongswan.org/projects/strongswan/wiki/KernelModules, Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- .../recipes-support/strongswan/strongswan_5.9.4.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb b/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb index cbc263d301..45500df01c 100644 --- a/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb +++ b/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb @@ -47,7 +47,10 @@ PACKAGECONFIG[systemd-charon] = "--enable-systemd,--disable-systemd,systemd," inherit autotools systemd pkgconfig -RRECOMMENDS:${PN} = "kernel-module-ipsec" +RRECOMMENDS:${PN} = "kernel-module-ah4 \ + kernel-module-esp4 \ + kernel-module-xfrm-user \ + " FILES:${PN} += "${libdir}/ipsec/lib*${SOLIBS}" FILES:${PN}-dbg += "${bindir}/.debug ${sbindir}/.debug ${libdir}/ipsec/.debug ${libexecdir}/ipsec/.debug"