Rebuild VyOS kernel Step

From VyOS Wiki
Jump to: navigation, search

Rebuild VyOS kernel Step

First clone build-iso.

git clone git://
cd build-iso

Update submodule. $branch is branch name (eg. helium)

Available flavors.

  • amd64-vyos
  • amd64-vyos-virt
  • 586-vyos
  • 586-vyos-virt

git submodule update --init pkgs/linux-image
cd pkgs/linux-image
git checkout $branch

Execute to generate control file. and ignore last error.

./debian/bin/ $flavor

make[1]: *** [debian/control-real] Error 1
make[1]: Leaving directory `/home/arch/build-iso/pkgs/linux-image'
make: *** [debian/control] Error 2

Make sure you have required tools installed

apt-get install devscripts kernel-package bc

Finally, execute make

cd ../../ # Top directory in build-iso.
make linux-image