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 <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2021-11-11 23:14:17 +08:00 committed by Khem Raj
parent 4aa6b803ed
commit 799dc735f8

View File

@ -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"