V8.13.392.2025.11.07
Some checks failed
🛡️ Retrieve DNSSEC status of coresecret.dev. / 🛡️ Retrieve DNSSEC status of coresecret.dev. (push) Successful in 1m5s
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m15s
🔐 Generating a Private Live ISO TRIXIE. / 🔐 Generating a Private Live ISO TRIXIE. (push) Failing after 1m23s
Some checks failed
🛡️ Retrieve DNSSEC status of coresecret.dev. / 🛡️ Retrieve DNSSEC status of coresecret.dev. (push) Successful in 1m5s
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m15s
🔐 Generating a Private Live ISO TRIXIE. / 🔐 Generating a Private Live ISO TRIXIE. (push) Failing after 1m23s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
# SPDX-PackageName: CISS.debian.live.builder
|
||||
# SPDX-Security-Contact: security@coresecret.eu
|
||||
|
||||
guard_sourcing
|
||||
guard_sourcing || return "${ERR_GUARD_SRCE}"
|
||||
|
||||
### For all options see https://www.gnu.org/software/bash/manual/bash.html#The-Set-Builtin
|
||||
set -o errexit # Exit script when a command exits with non-zero status, the same as "set -e".
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# SPDX-PackageName: CISS.debian.live.builder
|
||||
# SPDX-Security-Contact: security@coresecret.eu
|
||||
|
||||
guard_sourcing
|
||||
guard_sourcing || return "${ERR_GUARD_SRCE}"
|
||||
|
||||
### Definition of color variables.
|
||||
|
||||
|
||||
@@ -13,14 +13,6 @@
|
||||
### Definition of MUST set early variables.
|
||||
|
||||
# shellcheck disable=SC2155
|
||||
|
||||
declare -grx VAR_BASH_VER="$(bash --version | head -n1 | awk '{
|
||||
# Print $4 and $5; include $6 only if it exists
|
||||
out = $4
|
||||
if (NF >= 5) out = out " " $5
|
||||
if (NF >= 6) out = out " " $6
|
||||
print out
|
||||
}')"
|
||||
declare -grx VAR_CONTACT="security@coresecret.eu"
|
||||
declare -grx VAR_DATE="$(date +%F)"
|
||||
declare -grx VAR_DATE_EPOCH="$(date -u +%s)"
|
||||
@@ -33,7 +25,14 @@ declare -grx VAR_GIT_HEAD_FULL="$(git rev-parse HEAD)"
|
||||
declare -grx VAR_HOST="$(uname -n)"
|
||||
declare -grx VAR_ISO8601="$(date -u -d "@${VAR_DATE_EPOCH}" '+%Y-%m-%dT%H:%M:%SZ')"
|
||||
declare -grx VAR_SYSTEM="$(uname -mnosv)"
|
||||
declare -grx VAR_VERSION="Master V8.13.384.2025.11.06"
|
||||
declare -grx VAR_VERSION="Master V8.13.392.2025.11.07"
|
||||
declare -grx VAR_VER_BASH="$(bash --version | head -n1 | awk '{
|
||||
# Print $4 and $5; include $6 only if it exists
|
||||
out = $4
|
||||
if (NF >= 5) out = out " " $5
|
||||
if (NF >= 6) out = out " " $6
|
||||
print out
|
||||
}')"
|
||||
declare -grx VAR_VER_DS="$(debootstrap --version)"
|
||||
declare -grx VAR_VER_LB="$(lb -v)"
|
||||
declare -gx APT_LISTCHANGES_FRONTEND="none"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# SPDX-Security-Contact: security@coresecret.eu
|
||||
# shellcheck disable=SC2155,SC2034
|
||||
|
||||
guard_sourcing
|
||||
guard_sourcing || return "${ERR_GUARD_SRCE}"
|
||||
|
||||
### Definition of MUST set global variables.
|
||||
declare -gr VAR_KERNEL_INF="$(mktemp)"
|
||||
@@ -55,11 +55,26 @@ declare -gx VAR_SIGNING_KEY_PASS=""
|
||||
declare -gx VAR_SIGNING_KEY_PASSFILE=""
|
||||
declare -gx VAR_SIGNING_KEY=""
|
||||
|
||||
### Definition of error codes
|
||||
### Definition of color variables.
|
||||
declare -grx BLA='\e[90m' # Beautiful black for the techno fans.
|
||||
declare -grx RED='\e[91m' # Bright red.
|
||||
declare -grx GRE='\e[92m' # Vibrant green.
|
||||
declare -grx YEL='\e[93m' # Fancy yellow
|
||||
declare -grx BLU='\e[94m' # Organic blue.
|
||||
declare -grx MAG='\e[95m' # Super gay magenta.
|
||||
declare -grx CYA='\e[96m' # Lovely cyan.
|
||||
declare -grx WHI='\e[97m' # Fantastic color mix.
|
||||
declare -grx RES='\e[0m' # Forget everything.
|
||||
declare -grx TAB='\t' # Insert a fresh tabulator.
|
||||
declare -grx NL='\n' # Print a crystal clear new line.
|
||||
|
||||
### Definition of error codes.
|
||||
declare -gir ERR_UNCRITICAL=127
|
||||
declare -gir ERR_NOT_USER_0=128 # Not running as root
|
||||
declare -gir ERR_FLOCK_WRTG=129 # Cannot open lockfile for writing
|
||||
declare -gir ERR_FLOCK_COLL=130 # The Script is already running
|
||||
declare -gir ERR_GUARD_SRCE=131 # Module tried to load twice.
|
||||
declare -gir ERR_GPG__AGENT=132 # GNUPG agent error.
|
||||
declare -gir ERR_SPLASH_PNG=200 # --change-splash MUST be 'club' or 'hexagon'
|
||||
declare -gir ERR_CONTROL_CT=201 # --control MUST be an integer between '1' and '65535'
|
||||
declare -gir ERR_RENICE_PRI=202 # --renice-priority MUST an integer between '-19' and '19'
|
||||
|
||||
Reference in New Issue
Block a user