diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-05-15 03:54:40 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-05-15 03:54:40 +0200 |
commit | a83e5139eda1d4f2cb77f9b06da42f84aa5d7fc0 (patch) | |
tree | 50f40ffd62ab65b94246798867c42e61de208d5e /README.md | |
parent | 10fc439940f5f2e8ab5053d1587b8bd256944492 (diff) | |
parent | 135fb07d959741dbe9a3a4e5e1919de0e7c5bc44 (diff) | |
download | vyos-build-a83e5139eda1d4f2cb77f9b06da42f84aa5d7fc0.tar.gz vyos-build-a83e5139eda1d4f2cb77f9b06da42f84aa5d7fc0.zip |
Merge branch 'current' of github.com:vyos/vyos-build into current
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -43,7 +43,16 @@ There are several directories with their own purpose: ## Prerequisites -To build a VyOS image, you need a machine that runs Debian Jessie. Other build hosts are not supported. +To build a VyOS image, you need Debian8 "Jessie" environment (with jessie-backports repository). You can create it with [debootstrap](https://wiki.debian.org/Debootstrap) on Debian, Ubuntu and many distributions. To create Debian8 "Jessie" environment under vyos-chroot directory, run below commands. + +``` +$ sudo apt install debootstrap (Note: This is on Debian/Ubuntu, adjust it with your favorite distro package manager) +$ sudo debootstrap jessie vyos-chroot +$ sudo chroot vyos-chroot + +# echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list +# apt update +``` Several packages are required for building the ISO and all packages, namely python3, live-build, pbuilder, python3-pystache and devscripts. Individual packages may have other build dependencies. If some packages are missing, build scripts will tell you. |