pkg/build: load the SCTP and IPSec stacks on FreeBSD

IPSec is not compiled into GENERIC kernels and must be loaded.  SCTP
currently is compiled into GENERIC, but this is expected to change.
This commit is contained in:
Mark Johnston 2020-07-10 14:56:13 -04:00 committed by Dmitry Vyukov
parent 18d18b591b
commit ca5272b763

View File

@ -73,7 +73,9 @@ sudo mount /dev/${md}p${partn} $tmpdir
sudo MAKEOBJDIRPREFIX=%s make -C %s installkernel WITH_EXTRA_TCP_STACKS= KERNCONF=%s DESTDIR=$tmpdir
cat | sudo tee -a ${tmpdir}/boot/loader.conf <<__EOF__
ipsec_load="YES"
pf_load="YES"
sctp_load="YES"
tcp_bbr_load="YES"
tcp_rack_load="YES"
__EOF__