summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-27 14:41:10 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-27 14:41:37 +0200
commit9702b3c05c90540de37b4577990d26be5679537f (patch)
tree4400c80f6e7777d50873b8cd36696563ed660aca /scripts
parent80f3a69602ce10f83aa4e556878743c0bd191c38 (diff)
downloadvyos-build-9702b3c05c90540de37b4577990d26be5679537f.tar.gz
vyos-build-9702b3c05c90540de37b4577990d26be5679537f.zip
Packages: add net-snmp package to build procedure
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 && " \