diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-01-05 18:08:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-05-28 14:46:58 +0900 |
commit | 1da1d03f8d107bff644797131bc997476d22ecc1 (patch) | |
tree | 9fc888e0cb05603dd4ed233a675a67cf4bc575ff /debian/_buildscripts/local/scripts/_build_config_template.sh | |
parent | 204867aa831b7de0c1faf4321c9767c868d2d577 (diff) | |
download | tde-packaging-1da1d03f8d107bff644797131bc997476d22ecc1.tar.gz tde-packaging-1da1d03f8d107bff644797131bc997476d22ecc1.zip |
DEB build script: first commit, still work in progress although
functional.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/scripts/_build_config_template.sh')
-rw-r--r-- | debian/_buildscripts/local/scripts/_build_config_template.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/_buildscripts/local/scripts/_build_config_template.sh b/debian/_buildscripts/local/scripts/_build_config_template.sh new file mode 100644 index 000000000..5a465acb2 --- /dev/null +++ b/debian/_buildscripts/local/scripts/_build_config_template.sh @@ -0,0 +1,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" |