summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/scripts/_build_config_template.sh
blob: 5a465acb29ecc37f023c33685e327b92d9f4279f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash

#----------------------------
# 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
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
BUILD_DATE=""                   # module build date (automatic if "" or fixed otherwise, ex 20171201)
BUILD_DEFAULT_OPTIONS="-g -lr"  # default building options (pbuilder)

#----------------------------
# Base directories
#----------------------------
# Relative paths
CFG_SCRIPT_LOG_DIR="0_logs"
CFG_GIT_DIR="1_git"
CFG_BUILD_DIR="2_build"
CFG_GIT_TDE_MAIN="$CFG_GIT_DIR/tde/main"
CFG_GIT_TDE_PACKAGING="$CFG_GIT_DIR/tde-packaging/$DISTRO/$D_VERSION"
CFG_GIT_EXTRA_DEPENDENCIES="$CFG_GIT_DIR/edeps"
CFG_HOOK_DIR="$CFG_GIT_DIR/hooks"
#Absolute paths
PBUILDER_REPO="/var/cache/pbuilder/repo"
PBUILDER_HOOK_DIR="/usr/lib/pbuilder/hooks"
PBUILDER_SHELL_HOOK="$PBUILDER_HOOK_DIR/C10shell"
PBUILDER_SHELL_HOOK_TEMPLATE="$PBUILDER_HOOK_DIR/__template_C10shell"

#----------------------------
# Build output directories and logs
#----------------------------
CFG_TDE_BUILD_DIR="$CFG_BUILD_DIR/build"
CFG_TDE_DEBS_DIR="$CFG_BUILD_DIR/debs"