DragonFlyBSD Kernel Audit
DF-1364 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
9
#!/bin/sh
# DF-1364 fix compile-validation. Builds the kernel against the patched in-guest source.
# Run on the audit guest as root after `patch -p1 < /root/DF-1364.fix.diff` in /usr/src.
set -e
cd /usr/src
patch -p1 --forward < /root/DF-1364.fix.diff || true
cd /usr/src
make -j6 nativekernel KERNCONF=X86_64_GENERIC
echo "BUILD_OK rc=$?"