summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/internals/_config_template.sh
blob: ff506273ca6a775038bd831b706e0c72315f3ca9 (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
38
39
#!/bin/bash

set -a

#----------------------------
# Repo information
#----------------------------
TDE_DIR="$HOME/tde_src"           # TDE root folder

USE_GIT_WORKTREES="n"             # If == "y", use git worktrees. Need consistent cloned repository to start.
UPDATE_BRANCHES="master r14.1.x"  # Space separated list of branches to update. If using git worktrees,
                                  # this list contains the branches for which worktrees will be created.
DEFAULT_REPO_BRANCH="master"      # After update in completed, switch repo to this branch. Must be
                                  # one of the branches specified in UPDATE_BRANCHES

#----------------------------
# Build information
#----------------------------
TDE_RELEASE="14.2.0"              # TDE release number
DISTRO=""                         # Distro family (leave empty for auto-detection). For ex. debian
DISTRO_NAME=""                    # Distro name of specific version (leave empty for auto-detection). For ex. buster
ARCHITECTURE=""                   # Build for this architecture (leave empty for auto-detection). For ex. amd64
USE_PREBUILD_EXTRA_DEPS="y"       # If == "y", use pre-built extra dependency packages
USE_PREBUILD_PACKAGES="n"         # If == "y", use pre-built TDE packages to satisfy package dependencies
                                  # This is useful to build individual packages without having to do a full TDE build
BUILD_DEFAULT_OPTIONS="-g -lr"    # Default building options (pbuilder)
GPG_SIGN_KEYID=""                 # Use this GPG key to sign packages. If null, packages will not be signed

#----------------------------
# Base directories
#----------------------------
CFG_SCRIPT_LOG_DIR="0_logs"
CFG_GIT_DIR="1_git"
CFG_BUILD_DIR="2_build"
CFG_REPO_DIR="3_repo"
CFG_EXTRA_DEPS_DIR="edeps"        # Relative to CFG_GIT_DIR folder. Only required if USE_PREBUILD_EXTRA_DEPS != "y"
CFG_HOOKS_DIR="hooks"             # Relative to CFG_GIT_DIR folder

set +a