Howto build VyOS 1.2 ISO image and VMWare .OVF

From VyOS Wiki
Revision as of 11:51, 30 June 2017 by Max1e6 (talk | contribs) (Created page with "== Executive Summary == This HowTo describes how to build VyOS 1.2 from source. This HowTo assumes you are familiar with install Linux distributions and working with ssh and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Executive Summary

This HowTo describes how to build VyOS 1.2 from source. This HowTo assumes you are familiar with install Linux distributions and working with ssh and in the command line.

Overview

  1. Create VyOS build machine
  2. Download and install prerequisite software
  3. Build ISO image
  4. Build qemu image
  5. Build vmware image

Create and Basic Build Machine Setup

  1. Download Debian 8 "jesse" (https://www.debian.org/releases/jessie/)
  2. Install Debian either on a dedicated machine or as a virtual machines.

Once the build machine is created install sudo, open-vm-tools (if running in a VMWare virtual machine, which is not strictly necessary and it makes life a bit easier) and your preferred text editor. Aside: There are two types of Unix heads in the world...those that use vi and those that use emacs. I am in the latter camp. To quote my college friend Steph Baily, "One should know vi well enough to compile and run emacs."

NOTE: The following commands should be run as root:

  1. apt-get install sudo
  2. apt-get install open-vm-tools
  3. apt-get install emacs

Install Required Software

sudo apt-get install git autoconf automake dpkg-dev syslinux genisoimage qemu jq libz-dev zip python3 live-build pbuilder devscripts python3-pystache