Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiroyuki-sato/10519866 to your computer and use it in GitHub Desktop.
Save hiroyuki-sato/10519866 to your computer and use it in GitHub Desktop.

Rebuild VyOS kernel Step

First clone build-iso.

git clone git://github.com/vyos/build-iso.git

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

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

Execute build-flavour.sh to generate control file.

debian/bin/build-flavour.sh $flavor

Available flavors.

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

Finally, execute make

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

Happy hacking!!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment