Freebsd building a kernel: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
 
*pkg install -y subversion
 
*pkg install -y subversion
 
*rehash
 
*rehash
 +
==Get the kernel==
 +
*svn co https://svn0.us-east.FreeBSD.org/base/stable/10 /usr/src
 
=Kernel building=
 
=Kernel building=
 
==Go to the right directory==
 
==Go to the right directory==
Zeile 8: Zeile 10:
 
==Save the generic config==
 
==Save the generic config==
 
*cp GENERIC XINUXKERNEL
 
*cp GENERIC XINUXKERNEL
 
==Get the kernel==
 
*svn co https://svn0.us-east.FreeBSD.org/base/stable/10 /usr/src
 
 
 
=Links=
 
=Links=
 
*https://www.digitalocean.com/community/tutorials/how-to-customize-and-recompile-your-kernel-on-freebsd-10-1
 
*https://www.digitalocean.com/community/tutorials/how-to-customize-and-recompile-your-kernel-on-freebsd-10-1

Version vom 1. November 2017, 10:49 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

Links