Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 770 Bytes

1.Warm-up.rst

File metadata and controls

40 lines (24 loc) · 770 Bytes

Warm up Task - Build the Mainline

1. Clone

Clone Linus' tree

git clone --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

2. Config

Get current running kernel configuration.

zcat /proc/config.gz > $KERNEL_TREE/.config

3. Build

Build and install the kernel as applicable for your distribution.

  • build kernel
  • build modules
  • install kernel
  • install modules

Pro Tip: Do not get bogged down configuring the kernel at this stage, for guaranteed build use a running config as the basis. For quicker build use make localmodconfig.

4. Boot

Configure boot loader and boot new kernel.