Clarify the debootstrap step

This commit is contained in:
Daniil Baturin 2018-11-20 01:45:00 +07:00 committed by GitHub
parent f2397b177d
commit 36d371ced3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,12 +48,12 @@ There are several directories with their own purpose:
## Prerequisites ## Prerequisites
To build a VyOS image, you need Debian 8 "Jessie" environment (with jessie-backports repository). To build a VyOS 1.2.0 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:
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 ```bash
$ sudo apt-get install debootstrap $ 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 $ 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: Several packages are required for building the ISO:
* `python3` * `python3`
* `live-build` * `live-build`