From d5cb31e8159d73aa29486100285b6bc64ad0efd7 Mon Sep 17 00:00:00 2001 From: Alistair King Date: Mon, 10 Oct 2022 11:21:43 -0700 Subject: [PATCH 1/8] Add WIP Earthfile Currently builds only ubuntu 20.04 packages --- Earthfile | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Earthfile diff --git a/Earthfile b/Earthfile new file mode 100644 index 000000000000..c41e874eaebb --- /dev/null +++ b/Earthfile @@ -0,0 +1,55 @@ +VERSION 0.6 +FROM ubuntu:20.04 +WORKDIR /build + +all: + BUILD +pkg + +deps: + RUN apt-get update && apt-get install -y wget + + # download deps we can't get from normal repos + RUN wget https://ci1.netdef.org/artifact/RPKI-RTRLIB/shared/build-145/Ubuntu-20.04-arm8-Packages/librtr-dev_0.8.0_arm64.deb + RUN wget https://ci1.netdef.org/artifact/RPKI-RTRLIB/shared/build-145/Ubuntu-20.04-arm8-Packages/librtr0_0.8.0_arm64.deb + RUN wget 'https://ci1.netdef.org/artifact/LIBYANG-LIBYANGV2/shared/build-12/Ubuntu-20.04-arm8-Packages/libyang2_2.0.7-1~ubuntu20.04u1_arm64.deb' + RUN wget 'https://ci1.netdef.org/artifact/LIBYANG-LIBYANGV2/shared/build-12/Ubuntu-20.04-arm8-Packages/libyang2-dev_2.0.7-1~ubuntu20.04u1_arm64.deb' + + RUN DEBIAN_FRONTEND=noninteractive \ + apt-get install -y --no-install-recommends \ + autoconf automake \ + libtool make \ + build-essential \ + devscripts equivs \ + libreadline-dev texinfo \ + pkg-config \ + libpam0g-dev \ + libjson-c-dev \ + bison flex \ + libc-ares-dev \ + python3-dev python3-sphinx \ + install-info \ + libsnmp-dev \ + perl \ + libcap-dev \ + libelf-dev \ + libunwind-dev \ + wget \ + ./librtr0_0.8.0_arm64.deb \ + ./librtr-dev_0.8.0_arm64.deb \ + './libyang2_2.0.7-1~ubuntu20.04u1_arm64.deb' \ + './libyang2-dev_2.0.7-1~ubuntu20.04u1_arm64.deb' + COPY --dir debian ./ + RUN mk-build-deps --remove debian/control && \ + DEBIAN_FRONTEND=noninteractive \ + apt install -y --no-install-recommends \ + ./frr-build-deps_8.5~dev-1_all.deb + +pkg-deb: + FROM +deps + COPY --dir * . + RUN dpkg-buildpackage -b -rfakeroot -us -uc + ARG TARGETPLATFORM + SAVE ARTIFACT ../*.deb AS LOCAL ./dist/ + +pkg: + BUILD +pkg-deb From 0447d68c59a23d9abde3d41eaa045f1711ec8328 Mon Sep 17 00:00:00 2001 From: Alistair King Date: Mon, 10 Oct 2022 14:07:10 -0700 Subject: [PATCH 2/8] Fully (?) working Ubuntu builds Threw in amd64/arm64 multi-platform builds --- Earthfile | 150 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 106 insertions(+), 44 deletions(-) diff --git a/Earthfile b/Earthfile index c41e874eaebb..2cfbde527bad 100644 --- a/Earthfile +++ b/Earthfile @@ -1,55 +1,117 @@ VERSION 0.6 -FROM ubuntu:20.04 -WORKDIR /build + +ARG DEFAULT_DISTRO=ubuntu +ARG DEFAULT_RELEASE=22.04 all: - BUILD +pkg + BUILD +pkg-march --DISTRO=ubuntu --RELEASE=20.04 # focal + BUILD +pkg-march --DISTRO=ubuntu --RELEASE=22.04 # jammy -deps: - RUN apt-get update && apt-get install -y wget + #BUILD +pkg --DISTRO=centos --RELEASE=7 + #BUILD +pkg --DISTRO=centos --RELEASE=8 - # download deps we can't get from normal repos - RUN wget https://ci1.netdef.org/artifact/RPKI-RTRLIB/shared/build-145/Ubuntu-20.04-arm8-Packages/librtr-dev_0.8.0_arm64.deb - RUN wget https://ci1.netdef.org/artifact/RPKI-RTRLIB/shared/build-145/Ubuntu-20.04-arm8-Packages/librtr0_0.8.0_arm64.deb - RUN wget 'https://ci1.netdef.org/artifact/LIBYANG-LIBYANGV2/shared/build-12/Ubuntu-20.04-arm8-Packages/libyang2_2.0.7-1~ubuntu20.04u1_arm64.deb' - RUN wget 'https://ci1.netdef.org/artifact/LIBYANG-LIBYANGV2/shared/build-12/Ubuntu-20.04-arm8-Packages/libyang2-dev_2.0.7-1~ubuntu20.04u1_arm64.deb' +os-one: + ARG --required DISTRO + ARG --required RELEASE + ARG --required TARGETARCH + FROM ${DISTRO}:${RELEASE} + WORKDIR /build + IF [ "${DISTRO}" = "centos" ] + IF [ "${RELEASE}" = "8" ] + RUN sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* && \ + sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-* + RUN dnf install -y dnf-plugins-core + RUN dnf config-manager --set-enabled powertools + RUN dnf install -y \ + ca-certificates + ELSE + RUN yum install -y --setopt=skip_missing_names_on_install=False \ + ca-certificates + END + ELSE RUN DEBIAN_FRONTEND=noninteractive \ - apt-get install -y --no-install-recommends \ - autoconf automake \ - libtool make \ - build-essential \ - devscripts equivs \ - libreadline-dev texinfo \ - pkg-config \ - libpam0g-dev \ - libjson-c-dev \ - bison flex \ - libc-ares-dev \ - python3-dev python3-sphinx \ - install-info \ - libsnmp-dev \ - perl \ - libcap-dev \ - libelf-dev \ - libunwind-dev \ - wget \ - ./librtr0_0.8.0_arm64.deb \ - ./librtr-dev_0.8.0_arm64.deb \ - './libyang2_2.0.7-1~ubuntu20.04u1_arm64.deb' \ - './libyang2-dev_2.0.7-1~ubuntu20.04u1_arm64.deb' - COPY --dir debian ./ - RUN mk-build-deps --remove debian/control && \ - DEBIAN_FRONTEND=noninteractive \ - apt install -y --no-install-recommends \ + apt-get update && apt-get install -y --no-install-recommends \ + ca-certificates \ + wget + END + +deps-one: + ARG --required DISTRO + ARG --required RELEASE + ARG --required TARGETARCH + FROM +os-one --DISTRO=${DISTRO} --RELEASE=${RELEASE} + + RUN DEBIAN_FRONTEND=noninteractive \ + apt-get install -y --no-install-recommends \ + autoconf automake \ + libtool make \ + build-essential \ + devscripts equivs \ + libreadline-dev texinfo \ + pkg-config \ + libpam0g-dev \ + libjson-c-dev \ + bison flex \ + libc-ares-dev \ + python3-dev python3-sphinx \ + install-info \ + libsnmp-dev \ + perl \ + libcap-dev \ + libelf-dev \ + libunwind-dev \ + wget + + # only "new" releases have libyang and librtr + IF [ "${TARGETARCH}" = "arm64" ] + ARG frr_arch="arm8" + ELSE + ARG frr_arch="x86_64" + END + IF [ "$DISTRO" = "ubuntu" ] && [ "${RELEASE}" = "20.04" ] + # libyang + ARG yang_base="https://ci1.netdef.org/artifact/LIBYANG-LIBYANGV2/shared/build-12" + ARG yang_pkg="${yang_base}/Ubuntu-${RELEASE}-${frr_arch}-Packages" + RUN wget "${yang_pkg}/libyang2_2.0.7-1~${DISTRO}${RELEASE}u1_${TARGETARCH}.deb" && \ + wget "${yang_pkg}/libyang2-dev_2.0.7-1~${DISTRO}${RELEASE}u1_${TARGETARCH}.deb" + # librtr + ARG rtr_base="https://ci1.netdef.org/artifact/RPKI-RTRLIB/shared/build-00149" + ARG rtr_pkg="${rtr_base}/Ubuntu-${RELEASE}-${frr_arch}-Packages" + RUN wget "${rtr_pkg}/librtr-dev_0.8.0_${TARGETARCH}.deb" && \ + wget "${rtr_pkg}/librtr0_0.8.0_${TARGETARCH}.deb" + ARG extra_pkgs="./*.deb" + ELSE + ARG extra_pkgs="libyang2-dev librtr-dev" + END + RUN DEBIAN_FRONTEND=noninteractive \ + apt-get install -y --no-install-recommends \ + ${extra_pkgs} + + COPY --dir debian ./ + RUN mk-build-deps --remove debian/control && \ + DEBIAN_FRONTEND=noninteractive \ + apt install -y --no-install-recommends \ ./frr-build-deps_8.5~dev-1_all.deb -pkg-deb: - FROM +deps - COPY --dir * . - RUN dpkg-buildpackage -b -rfakeroot -us -uc +pkg-one: + ARG DISTRO=${DEFAULT_DISTRO} + ARG RELEASE=${DEFAULT_RELEASE} ARG TARGETPLATFORM - SAVE ARTIFACT ../*.deb AS LOCAL ./dist/ + FROM +deps-one --DISTRO=${DISTRO} --RELEASE=${RELEASE} + COPY --dir * . + IF [ "${DISTRO}" = "centos" ] + RUN echo "TODO" + ELSE + RUN dpkg-buildpackage -b -rfakeroot -us -uc + SAVE ARTIFACT ../*.deb AS LOCAL ./dist/${TARGETPLATFORM}/${DISTRO}/${RELEASE}/ + END -pkg: - BUILD +pkg-deb +pkg-march: + ARG --required DISTRO + ARG --required RELEASE + BUILD \ + --platform=linux/arm64 \ + --platform=linux/amd64 \ + +pkg-one \ + --DISTRO=${DISTRO} --RELEASE=${RELEASE} From 95764c1c0050fab48feb579bf872a65152a7cc7b Mon Sep 17 00:00:00 2001 From: Alistair King Date: Mon, 10 Oct 2022 15:31:11 -0700 Subject: [PATCH 3/8] WIP centos support --- Earthfile | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 3 deletions(-) diff --git a/Earthfile b/Earthfile index 2cfbde527bad..735f9f550067 100644 --- a/Earthfile +++ b/Earthfile @@ -7,8 +7,8 @@ all: BUILD +pkg-march --DISTRO=ubuntu --RELEASE=20.04 # focal BUILD +pkg-march --DISTRO=ubuntu --RELEASE=22.04 # jammy - #BUILD +pkg --DISTRO=centos --RELEASE=7 - #BUILD +pkg --DISTRO=centos --RELEASE=8 + BUILD +pkg-march --DISTRO=centos --RELEASE=7 + BUILD +pkg-march --DISTRO=centos --RELEASE=8 os-one: ARG --required DISTRO @@ -23,6 +23,7 @@ os-one: sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-* RUN dnf install -y dnf-plugins-core RUN dnf config-manager --set-enabled powertools + RUN yum -y install epel-release RUN dnf install -y \ ca-certificates ELSE @@ -42,6 +43,45 @@ deps-one: ARG --required TARGETARCH FROM +os-one --DISTRO=${DISTRO} --RELEASE=${RELEASE} + IF [ "${DISTRO}" = "centos" ] + RUN yum install -y --setopt=skip_missing_names_on_install=False \ + git cmake \ + autoconf automake \ + libtool make \ + readline-devel \ + texinfo \ + net-snmp-devel \ + groff \ + pkgconfig \ + json-c-devel \ + pam-devel \ + bison flex \ + c-ares-devel \ + libcap-devel \ + elfutils-libelf-devel \ + libssh libssh-devel \ + libunwind-devel + IF [ "${RELEASE}" = "7" ] + RUN yum install -y --setopt=skip_missing_names_on_install=False \ + pytest python-devel python-sphinx + ELSE + RUN yum install -y --setopt=skip_missing_names_on_install=False \ + python3-pytest python3-devel python3-sphinx + END + + # libyang + RUN git clone https://github.com/CESNET/libyang.git /libyang && \ + cd /libyang && \ + git checkout v2.0.0 && \ + mkdir build && cd build && \ + cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr \ + -D CMAKE_BUILD_TYPE:String="Release" .. && \ + make && make install + + # librtr + # TODO + + ELSE RUN DEBIAN_FRONTEND=noninteractive \ apt-get install -y --no-install-recommends \ autoconf automake \ @@ -62,6 +102,7 @@ deps-one: libelf-dev \ libunwind-dev \ wget + END # only "new" releases have libyang and librtr IF [ "${TARGETARCH}" = "arm64" ] @@ -69,6 +110,10 @@ deps-one: ELSE ARG frr_arch="x86_64" END + + IF [ "${DISTRO}" = "centos" ] + + ELSE IF [ "$DISTRO" = "ubuntu" ] && [ "${RELEASE}" = "20.04" ] # libyang ARG yang_base="https://ci1.netdef.org/artifact/LIBYANG-LIBYANGV2/shared/build-12" @@ -93,6 +138,7 @@ deps-one: DEBIAN_FRONTEND=noninteractive \ apt install -y --no-install-recommends \ ./frr-build-deps_8.5~dev-1_all.deb + END pkg-one: ARG DISTRO=${DEFAULT_DISTRO} @@ -101,7 +147,9 @@ pkg-one: FROM +deps-one --DISTRO=${DISTRO} --RELEASE=${RELEASE} COPY --dir * . IF [ "${DISTRO}" = "centos" ] - RUN echo "TODO" + RUN ./bootstrap.sh && \ + ./configure && \ + make dist ELSE RUN dpkg-buildpackage -b -rfakeroot -us -uc SAVE ARTIFACT ../*.deb AS LOCAL ./dist/${TARGETPLATFORM}/${DISTRO}/${RELEASE}/ From e93fd4ac2fb57abe2750e0fa7ed85ce4d4f1b6ca Mon Sep 17 00:00:00 2001 From: Alistair King Date: Mon, 10 Oct 2022 19:24:18 -0700 Subject: [PATCH 4/8] XXX add vty option to redhat config --- redhat/frr.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 8f469d2a07ac..229867920dbc 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -29,6 +29,7 @@ %{!?with_rtadv: %global with_rtadv 1 } %{!?with_watchfrr: %global with_watchfrr 1 } %{!?with_pathd: %global with_pathd 1 } +%{!?with_privileged_vty: %global with_privileged_vty 1 } # user and group %{!?frr_user: %global frr_user frr } @@ -419,6 +420,9 @@ routing state through standard SNMP MIBs. --enable-pathd \ %else --disable-pathd \ +%endif +%if %{with_privileged_vty} + --enable-privileged-vty \ %endif --enable-snmp # end From 7d0f12fb2c4eb4be542cd9649a7680df392f46c5 Mon Sep 17 00:00:00 2001 From: Alistair King Date: Mon, 10 Oct 2022 19:24:41 -0700 Subject: [PATCH 5/8] So, so close... --- Earthfile | 51 ++++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/Earthfile b/Earthfile index 735f9f550067..1748f321624c 100644 --- a/Earthfile +++ b/Earthfile @@ -4,17 +4,17 @@ ARG DEFAULT_DISTRO=ubuntu ARG DEFAULT_RELEASE=22.04 all: - BUILD +pkg-march --DISTRO=ubuntu --RELEASE=20.04 # focal - BUILD +pkg-march --DISTRO=ubuntu --RELEASE=22.04 # jammy + BUILD +pkg --DISTRO=ubuntu --RELEASE=20.04 # focal + BUILD +pkg --DISTRO=ubuntu --RELEASE=22.04 # jammy - BUILD +pkg-march --DISTRO=centos --RELEASE=7 - BUILD +pkg-march --DISTRO=centos --RELEASE=8 + BUILD +pkg --DISTRO=centos --RELEASE=7 + BUILD +pkg --DISTRO=centos --RELEASE=8 os-one: ARG --required DISTRO ARG --required RELEASE ARG --required TARGETARCH - FROM ${DISTRO}:${RELEASE} + FROM --platform=${TARGETPLATFORM} ${DISTRO}:${RELEASE} WORKDIR /build IF [ "${DISTRO}" = "centos" ] @@ -44,10 +44,13 @@ deps-one: FROM +os-one --DISTRO=${DISTRO} --RELEASE=${RELEASE} IF [ "${DISTRO}" = "centos" ] + RUN curl -O https://rpm.frrouting.org/repo/frr-stable-repo-1-0.el7.noarch.rpm && \ + yum install -y ./frr-stable* RUN yum install -y --setopt=skip_missing_names_on_install=False \ git cmake \ autoconf automake \ libtool make \ + rpm-build \ readline-devel \ texinfo \ net-snmp-devel \ @@ -60,27 +63,18 @@ deps-one: libcap-devel \ elfutils-libelf-devel \ libssh libssh-devel \ - libunwind-devel + libunwind-devel \ + systemd-devel \ + libyang2-devel \ + librtr-devel IF [ "${RELEASE}" = "7" ] RUN yum install -y --setopt=skip_missing_names_on_install=False \ pytest python-devel python-sphinx ELSE RUN yum install -y --setopt=skip_missing_names_on_install=False \ - python3-pytest python3-devel python3-sphinx + python3 python3-pytest python3-devel python3-sphinx END - # libyang - RUN git clone https://github.com/CESNET/libyang.git /libyang && \ - cd /libyang && \ - git checkout v2.0.0 && \ - mkdir build && cd build && \ - cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr \ - -D CMAKE_BUILD_TYPE:String="Release" .. && \ - make && make install - - # librtr - # TODO - ELSE RUN DEBIAN_FRONTEND=noninteractive \ apt-get install -y --no-install-recommends \ @@ -150,16 +144,23 @@ pkg-one: RUN ./bootstrap.sh && \ ./configure && \ make dist + RUN mkdir -p rpmbuild/SOURCES rpmbuild/SPECS && \ + cp redhat/*.spec rpmbuild/SPECS/ && \ + cp frr*.tar.gz rpmbuild/SOURCES/. + RUN rpmbuild \ + --define "_topdir `pwd`/rpmbuild" \ + -ba rpmbuild/SPECS/frr.spec + SAVE ARTIFACT /build/rpmbuild/RPMS/*/*.rpm AS LOCAL \ + ./dist/${TARGETPLATFORM}/${DISTRO}/${RELEASE}/ ELSE RUN dpkg-buildpackage -b -rfakeroot -us -uc - SAVE ARTIFACT ../*.deb AS LOCAL ./dist/${TARGETPLATFORM}/${DISTRO}/${RELEASE}/ + SAVE ARTIFACT ../*.deb AS LOCAL \ + ./dist/${TARGETPLATFORM}/${DISTRO}/${RELEASE}/ END -pkg-march: +pkg: ARG --required DISTRO ARG --required RELEASE - BUILD \ - --platform=linux/arm64 \ - --platform=linux/amd64 \ - +pkg-one \ + BUILD +pkg-one \ + --platform=linux/amd64 \ --DISTRO=${DISTRO} --RELEASE=${RELEASE} From cd002ecc9e0e460cfc438bd4a0fbab23da72383d Mon Sep 17 00:00:00 2001 From: Alistair King Date: Tue, 11 Oct 2022 17:46:28 -0700 Subject: [PATCH 6/8] Py3 shenanigans --- Earthfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Earthfile b/Earthfile index 1748f321624c..420c49681f9c 100644 --- a/Earthfile +++ b/Earthfile @@ -23,13 +23,9 @@ os-one: sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-* RUN dnf install -y dnf-plugins-core RUN dnf config-manager --set-enabled powertools - RUN yum -y install epel-release - RUN dnf install -y \ - ca-certificates - ELSE - RUN yum install -y --setopt=skip_missing_names_on_install=False \ - ca-certificates END + RUN yum install -y --setopt=skip_missing_names_on_install=False \ + ca-certificates ELSE RUN DEBIAN_FRONTEND=noninteractive \ apt-get update && apt-get install -y --no-install-recommends \ @@ -45,7 +41,13 @@ deps-one: IF [ "${DISTRO}" = "centos" ] RUN curl -O https://rpm.frrouting.org/repo/frr-stable-repo-1-0.el7.noarch.rpm && \ - yum install -y ./frr-stable* + yum install -y ./frr-stable* && \ + yum install -y --setopt=skip_missing_names_on_install=False \ + librtr-devel libyang2-devel + + RUN yum install -y --setopt=skip_missing_names_on_install=False \ + epel-release + RUN yum install -y --setopt=skip_missing_names_on_install=False \ git cmake \ autoconf automake \ @@ -65,14 +67,12 @@ deps-one: libssh libssh-devel \ libunwind-devel \ systemd-devel \ - libyang2-devel \ - librtr-devel + python3 python3-devel python3-sphinx IF [ "${RELEASE}" = "7" ] - RUN yum install -y --setopt=skip_missing_names_on_install=False \ - pytest python-devel python-sphinx + RUN pip3 install pytest ELSE RUN yum install -y --setopt=skip_missing_names_on_install=False \ - python3 python3-pytest python3-devel python3-sphinx + python3-pytest END ELSE From 9bdef406d98d845c295532349d1c0a8abb1364d6 Mon Sep 17 00:00:00 2001 From: Alistair King Date: Tue, 11 Oct 2022 17:58:19 -0700 Subject: [PATCH 7/8] Append `-rv` to package version --- Earthfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Earthfile b/Earthfile index 420c49681f9c..e19278e1faa8 100644 --- a/Earthfile +++ b/Earthfile @@ -140,6 +140,10 @@ pkg-one: ARG TARGETPLATFORM FROM +deps-one --DISTRO=${DISTRO} --RELEASE=${RELEASE} COPY --dir * . + # Append -rv to the frr version + # We do this here so that it's easier to apply the rv-specific patches to new releases + RUN sed -ri 's/^AC_INIT\(\[frr\], \[(.+)\], /AC_INIT([frr], [\1-rv], /' configure.ac && \ + grep AC_INIT configure.ac IF [ "${DISTRO}" = "centos" ] RUN ./bootstrap.sh && \ ./configure && \ From 256132ec73acc17b63f0485a64617216f62904f4 Mon Sep 17 00:00:00 2001 From: Alistair King Date: Tue, 11 Oct 2022 18:29:03 -0700 Subject: [PATCH 8/8] Set rv-specific RPM options --- Earthfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Earthfile b/Earthfile index e19278e1faa8..ef31dab49b8b 100644 --- a/Earthfile +++ b/Earthfile @@ -153,6 +153,26 @@ pkg-one: cp frr*.tar.gz rpmbuild/SOURCES/. RUN rpmbuild \ --define "_topdir `pwd`/rpmbuild" \ + --define "with_babeld 0" \ + --define "with_bfdd 1" \ + --define "with_bgpvnc 0" \ + --define "with_cumulus 0" \ + --define "with_eigrpd 1" \ + --define "with_fpm 0" \ + --define "with_ldpd 0" \ + --define "with_multipath 1" \ + --define "with_nhrpd 0" \ + --define "with_ospfapi 1" \ + --define "with_ospfclient 1" \ + --define "with_pam 0" \ + --define "with_pbrd 0" \ + --define "with_pimd 0" \ + --define "with_pim6d 0" \ + --define "with_vrrpd 0" \ + --define "with_rtadv 0" \ + --define "with_watchfrr 1" \ + --define "with_pathd 0" \ + --define "with_privileged_vty 1" \ -ba rpmbuild/SPECS/frr.spec SAVE ARTIFACT /build/rpmbuild/RPMS/*/*.rpm AS LOCAL \ ./dist/${TARGETPLATFORM}/${DISTRO}/${RELEASE}/