summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-packages7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/build-packages b/scripts/build-packages
index 3f146bf2..90d4e212 100755
--- a/scripts/build-packages
+++ b/scripts/build-packages
@@ -229,6 +229,13 @@ pkg_special.append( add_package('frr', url='https://github.com/FRRouting/frr.git
#
+# Net-SNMP
+#
+# net-snmp conflicts with already installed libsnmp-dev thus we need to build with -d
+net_snmp_build_cmd = "dpkg-buildpackage -b -us -uc -tc -d -j$(getconf _NPROCESSORS_ONLN)"
+pkg_special.append( add_package('net-snmp', custombuild_cmd=net_snmp_build_cmd) )
+
+#
# Linux (VyOS) Kernel
#
kernel_build_cmd = "make x86_64_vyos_defconfig && " \