Add 'rustup update' to the build chain.

This commit is contained in:
Herbert Wolverson 2023-02-02 14:10:06 +00:00
parent 30a6a2c5c5
commit 715829cc9a

View File

@ -18,6 +18,10 @@ TARGET=release
# Enable this if you are building on the same computer you are running on # Enable this if you are building on the same computer you are running on
RUSTFLAGS="-C target-cpu=native" RUSTFLAGS="-C target-cpu=native"
# Check for Rust version
echo "Checking that Rust is uptodate"
rustup update
# Start building # Start building
echo "Please wait while the system is compiled. Service will not be interrupted during this stage." echo "Please wait while the system is compiled. Service will not be interrupted during this stage."
PROGS="lqosd lqtop xdp_iphash_to_cpu_cmdline xdp_pping lqos_node_manager webusers" PROGS="lqosd lqtop xdp_iphash_to_cpu_cmdline xdp_pping lqos_node_manager webusers"