Page MenuHomeVyOS Platform

Instructions to build VyOS 1.2 from sources with frr

Asked by shamidrasool on Dec 12 2017, 10:27 AM.


I want to build the latest VyOS version using vyos-frr instead of quagga as even following the instructions from the wiki on Debian Jessie.

However, the latest build still has quagga and I do not get frr daemon as given in the blog post:

Kindly provide instructions/changes to the build process to enable frr while building VyOS image from sources, config file etc. The advantage of this build is that isisd can be enabled and can be used through vtysh in the iso provided in the blog post.


Updated 1,821 Days Ago

That procedure is a bit involved at the moment since the mainline 1.2.0 uses quagga, and there are quite a few dependencies on quagga, so I had to edit them all. I suppose I'll create FRR migration branches in all affected submodules to at least push those changes to somewhere.

Updated 1,792 Days Ago

Thanks Daniil.

I tried to build it by adding vyos-frr submodule. However I got conflicts with vyatta-quagga_0.99.20.1-14+vyos2+current1_amd64.deb package.

Here are the error logs:

Selecting previously unselected package vyatta-quagga.
Preparing to unpack .../vyatta-quagga_0.99.20.1-14+vyos2+current1_amd64.deb ...
Unpacking vyatta-quagga ( ...
dpkg: error processing archive /var/cache/apt/archives/vyatta-quagga_0.99.20.1-14+vyos2+current1_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/vtysh.1.gz', which is also in package frr 2.0
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

And at the end:

Processing triggers for systemd (215-17+deb8u7) ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
Reading state information...

The iso partially built is unusable as it is a symbolic link:
vyos-999.201801121149-amd64.iso -> /home/user/New/vyos-build/build/live-image-amd64.hybrid.iso

Can you suggest steps to resolve?

New Answer