From eeaccbeddbaa2974406eb20cbb7beca3fb4a59f0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 11 Jul 2018 23:38:32 +0900 Subject: DEB build scripts: several enhancements as follow: - major rework of update_repositories.sh script, which now supports multiple branches and provide better feedback to user. - added support for pre-built extra dependency packages. A user can now use Slavek Banko's binary packages instead of building the extra dependency locally. This removes a quite tedious process during the setup of the building environment. - bug fixes and more user friendly folder names. - improved README to cover the complete process until TDE installation. Special thanks to Gregory Guy for testing and feedback done so far. Signed-off-by: Michele Calgaro --- debian/_buildscripts/local/99_build_TDE.sh | 54 ++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100755 debian/_buildscripts/local/99_build_TDE.sh (limited to 'debian/_buildscripts/local/99_build_TDE.sh') diff --git a/debian/_buildscripts/local/99_build_TDE.sh b/debian/_buildscripts/local/99_build_TDE.sh new file mode 100755 index 000000000..99b72ce05 --- /dev/null +++ b/debian/_buildscripts/local/99_build_TDE.sh @@ -0,0 +1,54 @@ +#!/bin/bash + +# Load common code and initialization +. ./internals/_build_common.sh +init_common + +_BUILDALL_TIMER=2 +_BUILDALL_TIME="--/--:--:--:---" + + +#---------------------------- +# do_exit for set building +function do_exit() +{ + cd "$SCRIPT_DIR" + if [ $1 -eq 0 ]; then + echo -e "${CGray}#### Building process for TDE completed ####${CNone}" + else + echo -e "${CGray}#### Building process for TDE interrupted ($1) ####${CNone}" + fi + exit $1 +} + + +#---------------------------- +function set_log_start() +{ + echo -e "${CGray}#### Starting building process for TDE ####${CNone}" + echo + echo "********** TDE **********" >>"$LOG_BUILD_RESULT_FILENAME" + exec_time_start $_BUILDALL_TIMER +} + + +#---------------------------- +function set_log_end() +{ + exec_time_stop $_BUILDALL_TIMER "_BUILDALL_TIME" + echo " [$_BUILDALL_TIME] All TDE " >>"$LOG_BUILD_RESULT_FILENAME" + echo >>"$LOG_BUILD_RESULT_FILENAME" + do_exit 0 +} + + +#---------------------------- +# Build TDE +#---------------------------- +set_log_start + +./91_build_base.sh +./92_build_applications.sh +./93_build_others.sh + +set_log_end -- cgit v1.2.1