Skip to content

Instantly share code, notes, and snippets.

@higebu
Last active July 31, 2023 23:47
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 higebu/bde2f6d1e5e089d4e3027de58b97c3af to your computer and use it in GitHub Desktop.
Save higebu/bde2f6d1e5e089d4e3027de58b97c3af to your computer and use it in GitHub Desktop.
WIP: Build VyOS with Debian sid
  1. git clone and checkout branch
git clone https://github.com/higebu/vyos-build.git
cd vyos-build
git checkout sid
  1. Run docker image
docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos higebu/vyos-build:sid bash
  1. Build linux kernel
cd packages/linux-kernel
git clone --depth=1 -b v5.16.16 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
./build-kernel.sh
  1. Build vyatta-cfg
cd packages
git clone -b sid https://github.com/higebu/vyatta-cfg.git
cd vyatta-cfg
dpkg-buildpackage -uc -us -tc -b
  1. Build vyos-1x
cd packages
git clone -b sid https://github.com/higebu/vyos-1x.git
cd vyos-1x
dpkg-buildpackage -uc -us -tc -b
  1. Build ISO
./configure --architecture amd64 --build-by "yuya.kusakabe@gmail.com" --build-type release --version sid-$(date -u +%Y%m%d%H%M)
sudo make iso
@higebu
Copy link
Author

higebu commented Jul 31, 2023

sudo ./build-vyos-image --architecture amd64 --build-by "yuya.kusakabe@gmail.com" --build-type development iso

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