diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-11-20 01:45:00 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-20 01:45:00 +0700 |
commit | 36d371ced3f5b52cf8f535b25ca604e5d68974b1 (patch) | |
tree | 1589f2b2203ec7f112d3e93db46d85ef1080d8ee /README.md | |
parent | f2397b177db25cf0f5935cd33d120fa9b567f1c5 (diff) | |
download | vyos-build-36d371ced3f5b52cf8f535b25ca604e5d68974b1.tar.gz vyos-build-36d371ced3f5b52cf8f535b25ca604e5d68974b1.zip |
Clarify the debootstrap step
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -48,12 +48,12 @@ There are several directories with their own purpose: ## Prerequisites -To build a VyOS image, you need Debian 8 "Jessie" environment (with jessie-backports repository). -You can create it with [debootstrap](https://wiki.debian.org/Debootstrap) on Debian, Ubuntu and many -other distributions. To create a Debian 8 "Jessie" environment under vyos-chroot -directory, run these commands: +To build a VyOS 1.2.0 image, you need Debian 8 "Jessie" environment (with jessie-backports repository). -Note: This is on Debian/Ubuntu, adjust it for your favorite distro package manager! +If you do not have a Debian Jessie machine, you may create a chroot environment with the +[debootstrap](https://wiki.debian.org/Debootstrap) tool. + +For example, on another version of Debian or another Debian-based distro, these commands will work: ```bash $ sudo apt-get install debootstrap @@ -64,6 +64,9 @@ $ echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sour $ apt-get update ``` +If you are working on a Debian Jessie machine, no special preparation is needed, you only +need to enable jessie-backports and install build dependencies. + Several packages are required for building the ISO: * `python3` * `live-build` |