Instructions to build VyOS 1.2 from sources with frr
OpenPublic

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

Details

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:
http://blog.vyos.net/a-vyos-1-dot-2-0-alpha-image-with-frr-instead-of-quagga-is-available-for-testing-and-weve-found-a-gpl-violation-in-vyos

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.

Answers

dmbaturin
Updated 34 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.

shamidrasool
Updated 5 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 (0.99.20.1-14+vyos2+current1) ...
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:
/var/cache/apt/archives/vyatta-quagga_0.99.20.1-14+vyos2+current1_amd64.deb
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