diff --git a/lib/library-functions.sh b/lib/library-functions.sh index 0d67bb58e..0162d50a7 100644 --- a/lib/library-functions.sh +++ b/lib/library-functions.sh @@ -73,6 +73,15 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true # shellcheck source=lib/functions/cli/cli-jsoninfo.sh source "${SRC}"/lib/functions/cli/cli-jsoninfo.sh +# no errors tolerated. invoked before each sourced file to make sure. +#set -o pipefail # trace ERR through pipes - will be enabled "soon" +#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled +set -o errtrace # trace ERR through - enabled +set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled +### lib/functions/cli/cli-patch.sh +# shellcheck source=lib/functions/cli/cli-patch.sh +source "${SRC}"/lib/functions/cli/cli-patch.sh + # no errors tolerated. invoked before each sourced file to make sure. #set -o pipefail # trace ERR through pipes - will be enabled "soon" #set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled @@ -163,6 +172,15 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true # shellcheck source=lib/functions/compilation/distcc.sh source "${SRC}"/lib/functions/compilation/distcc.sh +# no errors tolerated. invoked before each sourced file to make sure. +#set -o pipefail # trace ERR through pipes - will be enabled "soon" +#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled +set -o errtrace # trace ERR through - enabled +set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled +### lib/functions/compilation/kernel-config.sh +# shellcheck source=lib/functions/compilation/kernel-config.sh +source "${SRC}"/lib/functions/compilation/kernel-config.sh + # no errors tolerated. invoked before each sourced file to make sure. #set -o pipefail # trace ERR through pipes - will be enabled "soon" #set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled @@ -181,6 +199,24 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true # shellcheck source=lib/functions/compilation/kernel-git.sh source "${SRC}"/lib/functions/compilation/kernel-git.sh +# no errors tolerated. invoked before each sourced file to make sure. +#set -o pipefail # trace ERR through pipes - will be enabled "soon" +#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled +set -o errtrace # trace ERR through - enabled +set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled +### lib/functions/compilation/kernel-make.sh +# shellcheck source=lib/functions/compilation/kernel-make.sh +source "${SRC}"/lib/functions/compilation/kernel-make.sh + +# no errors tolerated. invoked before each sourced file to make sure. +#set -o pipefail # trace ERR through pipes - will be enabled "soon" +#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled +set -o errtrace # trace ERR through - enabled +set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled +### lib/functions/compilation/kernel-patching.sh +# shellcheck source=lib/functions/compilation/kernel-patching.sh +source "${SRC}"/lib/functions/compilation/kernel-patching.sh + # no errors tolerated. invoked before each sourced file to make sure. #set -o pipefail # trace ERR through pipes - will be enabled "soon" #set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled @@ -195,18 +231,18 @@ source "${SRC}"/lib/functions/compilation/kernel.sh #set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled set -o errtrace # trace ERR through - enabled set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled -### lib/functions/compilation/patch/drivers_network.sh -# shellcheck source=lib/functions/compilation/patch/drivers_network.sh -source "${SRC}"/lib/functions/compilation/patch/drivers_network.sh +### lib/functions/compilation/patch/drivers-harness.sh +# shellcheck source=lib/functions/compilation/patch/drivers-harness.sh +source "${SRC}"/lib/functions/compilation/patch/drivers-harness.sh # no errors tolerated. invoked before each sourced file to make sure. #set -o pipefail # trace ERR through pipes - will be enabled "soon" #set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled set -o errtrace # trace ERR through - enabled set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled -### lib/functions/compilation/patch/fasthash.sh -# shellcheck source=lib/functions/compilation/patch/fasthash.sh -source "${SRC}"/lib/functions/compilation/patch/fasthash.sh +### lib/functions/compilation/patch/drivers_network.sh +# shellcheck source=lib/functions/compilation/patch/drivers_network.sh +source "${SRC}"/lib/functions/compilation/patch/drivers_network.sh # no errors tolerated. invoked before each sourced file to make sure. #set -o pipefail # trace ERR through pipes - will be enabled "soon" @@ -244,6 +280,15 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true # shellcheck source=lib/functions/compilation/uboot-git.sh source "${SRC}"/lib/functions/compilation/uboot-git.sh +# no errors tolerated. invoked before each sourced file to make sure. +#set -o pipefail # trace ERR through pipes - will be enabled "soon" +#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled +set -o errtrace # trace ERR through - enabled +set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled +### lib/functions/compilation/uboot-patching.sh +# shellcheck source=lib/functions/compilation/uboot-patching.sh +source "${SRC}"/lib/functions/compilation/uboot-patching.sh + # no errors tolerated. invoked before each sourced file to make sure. #set -o pipefail # trace ERR through pipes - will be enabled "soon" #set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled @@ -361,6 +406,15 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true # shellcheck source=lib/functions/general/downloads.sh source "${SRC}"/lib/functions/general/downloads.sh +# no errors tolerated. invoked before each sourced file to make sure. +#set -o pipefail # trace ERR through pipes - will be enabled "soon" +#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled +set -o errtrace # trace ERR through - enabled +set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled +### lib/functions/general/file-mtime.sh +# shellcheck source=lib/functions/general/file-mtime.sh +source "${SRC}"/lib/functions/general/file-mtime.sh + # no errors tolerated. invoked before each sourced file to make sure. #set -o pipefail # trace ERR through pipes - will be enabled "soon" #set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled @@ -375,9 +429,18 @@ source "${SRC}"/lib/functions/general/git.sh #set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled set -o errtrace # trace ERR through - enabled set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled -### lib/functions/general/repo.sh -# shellcheck source=lib/functions/general/repo.sh -source "${SRC}"/lib/functions/general/repo.sh +### lib/functions/general/oci-oras.sh +# shellcheck source=lib/functions/general/oci-oras.sh +source "${SRC}"/lib/functions/general/oci-oras.sh + +# no errors tolerated. invoked before each sourced file to make sure. +#set -o pipefail # trace ERR through pipes - will be enabled "soon" +#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled +set -o errtrace # trace ERR through - enabled +set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled +### lib/functions/general/python-tools.sh +# shellcheck source=lib/functions/general/python-tools.sh +source "${SRC}"/lib/functions/general/python-tools.sh # no errors tolerated. invoked before each sourced file to make sure. #set -o pipefail # trace ERR through pipes - will be enabled "soon"