diff options
| author | Mark Johnston <markjdb@gmail.com> | 2020-07-10 14:59:24 -0400 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-07-11 08:49:28 +0200 |
| commit | 7ba05d2dd657a3306d4729982dda87273334e850 (patch) | |
| tree | 6e85e1bc749cf83f8028ed87a86c4fdaa4537ae6 /pkg | |
| parent | ca5272b7637a846ed54b4ab0363ba0fcf71367a7 (diff) | |
pkg/build: always truncate loader.conf on FreeBSD
Otherwise we append the same lines to the file upon each build.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/build/freebsd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/build/freebsd.go b/pkg/build/freebsd.go index d705978a2..59635c595 100644 --- a/pkg/build/freebsd.go +++ b/pkg/build/freebsd.go @@ -72,7 +72,7 @@ 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__ +cat | sudo tee ${tmpdir}/boot/loader.conf <<__EOF__ ipsec_load="YES" pf_load="YES" sctp_load="YES" |
