mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Update DPKG build script to use version numbering from date
to handle nightly or similar builds and always increase the build number for upgrades.
This commit is contained in:
@@ -4,9 +4,13 @@
|
||||
# Copyright (c) 2022, Herbert Wolverson and LibreQoE
|
||||
# This is all GPL2.
|
||||
|
||||
BUILD_DATE=`date +%Y%m%d`
|
||||
PACKAGE=libreqos
|
||||
VERSION=1.4
|
||||
DPKG_DIR=dist/$PACKAGE_$VERSION-1_amd64
|
||||
VERSION=1.4.$BUILD_DATE
|
||||
PKGVERSION=$PACKAGE
|
||||
PKGVERSION+="_"
|
||||
PKGVERSION+=$VERSION
|
||||
DPKG_DIR=dist/$PKGVERSION-1_amd64
|
||||
APT_DEPENDENCIES="python3-pip, clang, gcc, gcc-multilib, llvm, libelf-dev, git, nano, graphviz, curl, screen, llvm, pkg-config, linux-tools-common, libbpf-dev"
|
||||
DEBIAN_DIR=$DPKG_DIR/DEBIAN
|
||||
LQOS_DIR=$DPKG_DIR/opt/libreqos/src
|
||||
@@ -19,6 +23,9 @@ RUSTPROGS="lqosd lqtop xdp_iphash_to_cpu_cmdline xdp_pping lqos_node_manager lqu
|
||||
# Clean any previous dist build
|
||||
rm -rf dist
|
||||
|
||||
####################################################
|
||||
# Bump the build number
|
||||
|
||||
####################################################
|
||||
# The Debian Packaging Bit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user