summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/scripts/build_module.sh
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-03-12 00:08:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-05-28 14:46:58 +0900
commit6821bf1de1e0a6b9e8c58c579642e20346cdbcc5 (patch)
tree77d5942251272421f0594083f4fe2cd0b2f760d2 /debian/_buildscripts/local/scripts/build_module.sh
parent4da401f0e8154dcb3e4afdd7c02f7288fa1e0ec5 (diff)
downloadtde-packaging-6821bf1de1e0a6b9e8c58c579642e20346cdbcc5.tar.gz
tde-packaging-6821bf1de1e0a6b9e8c58c579642e20346cdbcc5.zip
DEB build scripts: improved support for pbuilder and fixed problem with apt-ftparchive in hook scripts.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/scripts/build_module.sh')
-rwxr-xr-xdebian/_buildscripts/local/scripts/build_module.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/_buildscripts/local/scripts/build_module.sh b/debian/_buildscripts/local/scripts/build_module.sh
index 63d2a4574..586501c0e 100755
--- a/debian/_buildscripts/local/scripts/build_module.sh
+++ b/debian/_buildscripts/local/scripts/build_module.sh
@@ -98,6 +98,13 @@ if [ "bool_BUILD_LOCALLY" = "y" ]; then
bool_INTERNAL_PBUILDER="n"
fi
+# pbuilder 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"
+HOOKDIR="$PBUILDER_HOOK_DIR" # real pbuilder hook dir setting
+
# Local option variables
# - internal pbuilder
OPT_INTERNAL_PBUILDER=""