HowTo build VyOS ( a short way )


Hello everyone,

today I want to show you an alternative way to build an ISO-image of VyOS.
It´s just a cleaned-up version of the wiki instructions. So here we go…

  • install debian-squeeze amd64 i386

  • choose just to install ssh-server, finish install and reboot

  • login and enter as root:

add debian-backports to apt-sources

echo '# debian-backports' >> /etc/apt/sources.list echo 'deb squeeze-backports main' >> /etc/apt/sources.list echo 'deb-src squeeze-backports main >> /etc/apt/sources.list

update packages-list and install updates if there any

install required packages

apt-get -t squeeze-backports install squashfs-tools -y apt-get install git autoconf dpkg-dev live-helper syslinux genisoimage lsb-release -y

enter as your build-user ( e.g. build )

echo 'export PATH=/sbin:/usr/sbin:$PATH' >> ~/.bashrc source ~/.bashrc

fetch vyos-source via git

check out the prefered branch

[code]## choose helium ( next release )
git branch helium --track origin/helium
git checkout helium

choose hydrogen ( current release )

git branch hydrogen --track origin/hydrogen
git checkout hydrogen[/code]

configure and build iso

autoreconf -i ./configure sudo make iso

based on original instructions