DragonFlyBSD Kernel Audit
DF-2661 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
9
#!/bin/sh
# DF-2661 Phase V, step 1: build kernel A (stock + inject.diff) in guest.
set -e
cd /usr/src
patch -p1 --dry-run < /root/df2661/inject.diff
patch -p1 < /root/df2661/inject.diff
make -j6 nativekernel KERNCONF=X86_64_GENERIC
make installkernel KERNCONF=X86_64_GENERIC
echo KERNEL_A_INSTALLED