From a9cef411ca143413d48fee956364097a05f67a71 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 23 Nov 2018 22:50:17 +0900 Subject: DEB build scripts: fixed code for cross-building. Remove extra dependency on gettext-kde Signed-off-by: Michele Calgaro --- debian/_buildscripts/local/00_extradeps.sh | 1 - debian/_buildscripts/local/README.txt | 2 +- debian/_buildscripts/local/internals/_pbuilder.sh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'debian/_buildscripts/local') diff --git a/debian/_buildscripts/local/00_extradeps.sh b/debian/_buildscripts/local/00_extradeps.sh index 763b5091c..c3a7cc1de 100755 --- a/debian/_buildscripts/local/00_extradeps.sh +++ b/debian/_buildscripts/local/00_extradeps.sh @@ -9,7 +9,6 @@ if [[ "$USE_PREBUILD_EXTRA_DEPS" = "y" ]]; then echo -e "${CBrown}#### Use of pre-built extra dependency packages is currently configured. Nothing to do. ####\n${CNone}" echo "Use of pre-built extra dependency packages is currently configured. Nothing to do." >>"$LOG_BUILD_RESULT_FILENAME" else - build_module "edeps/gettext-kde" build_module "edeps/fireflies" build_module "edeps/imlib" # build_module "edeps/opensync" # deprecated - no longer required in R14.1 series. To remove in R14.2.0 diff --git a/debian/_buildscripts/local/README.txt b/debian/_buildscripts/local/README.txt index 4d0595031..650d515bd 100644 --- a/debian/_buildscripts/local/README.txt +++ b/debian/_buildscripts/local/README.txt @@ -58,7 +58,7 @@ A) Environment preparation 7) Create pbuilder base package with the command: sudo pbuilder create If you wish to build for a different distro or architecture, use the command: - sudo DISTRIBUTION= ARCHITECTURE= pbuilder create + sudo DISTRO_NAME= ARCHITECTURE= pbuilder create 8) Setup the build scripts locally: - copy build scripts from "TDE_DIR/1_git/tde-packaging/debian/_buildscripts/local" to "TDE_DIR/buildscripts" diff --git a/debian/_buildscripts/local/internals/_pbuilder.sh b/debian/_buildscripts/local/internals/_pbuilder.sh index d2b176ded..9c36ac219 100755 --- a/debian/_buildscripts/local/internals/_pbuilder.sh +++ b/debian/_buildscripts/local/internals/_pbuilder.sh @@ -67,7 +67,7 @@ END_D05_03 eval pdebuild $OPT_INTERNAL_PBUILDER $OPT_SIGN_PKG_PBUILDER \ --architecture $ARCHITECTURE \ --buildresult \"$MOD_DEB_PATH\" \ - --pbuilderroot \"sudo DIST=$DISTRO_NAME ARCH=$ARCHITECTURE\" \ + --pbuilderroot \"sudo DISTRO_NAME=$DISTRO_NAME ARCHITECTURE=$ARCHITECTURE\" \ --logfile \"$BUILDING_LOG_FILE\" \ -- \ --bindmounts \"$TDE_DEBS_DIR\" \ -- cgit v1.2.1