openzfs / zfs-buildbot

The OpenZFS Buildbot Configuration
http://build.zfsonlinux.org
BSD 2-Clause "Simplified" License
25 stars 29 forks source link

FreeBSD: Relax version check for WITH_INVARIANTS #213

Closed ghost closed 3 years ago

ghost commented 3 years ago

When building for FreeBSD HEAD we need to use WITH_INVARIANTS=true to match the kernel configuration. The release cycle for FreeBSD 13 has begun so the kernel version is changing from 13.0-CURRENT to -ALPHA and later -BETA and -RC*.

Relax the version check to only look for 13.0- rather than the full string, so we don't have to babysit this quite so much during the release cycle.