From 38aaa2667f7c4e41fb399ac265456491068f60a7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 19 Feb 2018 23:15:36 +0900 Subject: DEB build scripts: fixed version numbering scheme. Added check to make sure the selected distro and version is supported. Signed-off-by: Michele Calgaro --- debian/_buildscripts/local/scripts/_build_config_template.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'debian/_buildscripts/local/scripts/_build_config_template.sh') diff --git a/debian/_buildscripts/local/scripts/_build_config_template.sh b/debian/_buildscripts/local/scripts/_build_config_template.sh index d0c5a9d2c..d9dbbf8b0 100644 --- a/debian/_buildscripts/local/scripts/_build_config_template.sh +++ b/debian/_buildscripts/local/scripts/_build_config_template.sh @@ -4,9 +4,8 @@ # Build information #---------------------------- TDE_RELEASE="14.1.0" # TDE release number -DISTRO="debian" # Build for this distro -D_VERSION="buster" # Build for this distro version -REL_SUFFIX="~a" # Relative suffix for packages +DISTRO="debian" # Distro family +DISTRO_NAME="buster" # Distro name of specific version ARCHITECTURE="amd64" # Build for this architecture USE_LOCAL_BUILD_NUMBER="n" # If == "y", use local build numbering for modules BUILD_NUMBER="b001" # TDE build number @@ -24,7 +23,7 @@ CFG_GIT_DIR="1_git" CFG_BUILD_DIR="2_build" CFG_REPO_DIR="3_repo" CFG_GIT_TDE_MAIN="$CFG_GIT_DIR/tde/main" -CFG_GIT_TDE_PACKAGING="$CFG_GIT_DIR/tde-packaging/$DISTRO/$D_VERSION" +CFG_GIT_TDE_PACKAGING="$CFG_GIT_DIR/tde-packaging/$DISTRO/$DISTRO_NAME" CFG_GIT_EXTRA_DEPENDENCIES="$CFG_GIT_DIR/edeps" CFG_HOOK_DIR="$CFG_GIT_DIR/hooks" #Absolute paths -- cgit v1.2.1