summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHideki Yamane <henrich@iijmio-mail.jp>2018-05-07 04:39:12 +0900
committerDaniil Baturin <daniil@baturin.org>2018-05-07 02:39:12 +0700
commiteb08c9a2b690ca52c1ce5cc32eb5e62cc3344553 (patch)
tree916b0650d1e2328230290a9c7939460e4ff745a9 /README.md
parentdea202e366346dae6b39190c49b6076e3e2859c6 (diff)
downloadvyos-build-eb08c9a2b690ca52c1ce5cc32eb5e62cc3344553.tar.gz
vyos-build-eb08c9a2b690ca52c1ce5cc32eb5e62cc3344553.zip
Suggests to use deboostrap to create Jessie env (#17)
* Suggest to use deboostrap to create Jessie env Not prepare Jessie host but create Jessie environment with debootstrap, since it runs on many, many distros and versions.
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2b1f5a12..3e7c713a 100644
--- a/README.md
+++ b/README.md
@@ -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.