Freebsd building a kernel: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 11: Zeile 11:
 
*cp GENERIC XINUXKERNEL
 
*cp GENERIC XINUXKERNEL
 
==Add an option==
 
==Add an option==
 +
*XINUXKERNEL
 
Example:
 
Example:
 
  options        IPSEC_NAT_T
 
  options        IPSEC_NAT_T

Version vom 1. November 2017, 10:59 Uhr

Prerequisites

Install subversion

  • pkg install -y subversion
  • rehash

Get the kernel

Kernel building

Go to the right directory

  • cd /usr/src/sys/`uname -m`/conf

Save the generic config

  • cp GENERIC XINUXKERNEL

Add an option

  • XINUXKERNEL

Example:

options         IPSEC_NAT_T

Links