User Tools

Site Tools


sparky_kernel_builder

This is an old revision of the document!


Sparky Kernel Builder

The Sparky Kernel Builder script easy the Linux kernel building process, if you would like to do yourself.

The script downloads the kernel sources from kernel.org, untar it, lets you make changes in its configuration, and builds debs and source packages.

Install dependencies:

sudo apt update 
sudo apt install grep coreutils pwd make bash xz-utils tar fakeroot build-essential ncurses-dev libssl-dev bc wget iputils-ping gawk flex bison binutils-dev
sudo apt install --no-install-recommends kernel-package

Download the script from Sparky’s git repos: https://github.com/sparkylinux/sparky-kernel-builder

Make it executable:

chmod +x sparky-kernel-builder

Run it (as a regular user):

./sparky-kernel-builder

You need 15 GB about of free space to make one build.

sparky_kernel_builder.1584119378.txt.gz · Last modified: 2021/05/04 15:25 (external edit)