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