Skip to contentSkip to conversation

strongswan: add required kernel modules to RRECOMMENDS

PATCH New Yi Zhao 1 participant 1 message Nov 11, 2021

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 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,

---
 .../recipes-support/strongswan/strongswan_5.9.4.bb           | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb +4 -1
index cbc263d30..45500df01 100644
@@ -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"
Signature · 1 line
2.25.1