V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 50s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 50s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -50,6 +50,7 @@ func_debootstrap() {
|
||||
|
||||
do_log "info" "file_only" "4000() [${ary_cmd[*]}] successful."
|
||||
install -d -m 0700 -o root -g root "${var_target}/root/.ciss/cdi/backup"
|
||||
install -d -m 0700 -o root -g root "${var_target}/root/.ciss/cdi/log"
|
||||
install -d -m 0700 -o root -g root "${var_target}/root/.ciss/cdi/hooks"
|
||||
return 0
|
||||
|
||||
|
||||
@@ -25,8 +25,9 @@ guard_sourcing
|
||||
#######################################
|
||||
update_sources() {
|
||||
### Declare Arrays, HashMaps, and Variables.
|
||||
declare -r var_logfile="${DIR_LOG}/4110_update_sources.sh"
|
||||
touch "${var_logfile}" && chmod 0600 "${var_logfile}"
|
||||
declare -r var_logfile="/root/.ciss/cdi/log/4110_update_sources.log"
|
||||
|
||||
touch "${TARGET}${var_logfile}" && chmod 0600 "${TARGET}${var_logfile}"
|
||||
|
||||
### Update generated sources.
|
||||
# shellcheck disable=SC2312
|
||||
|
||||
@@ -25,8 +25,9 @@ guard_sourcing
|
||||
#######################################
|
||||
installation_kernel() {
|
||||
### Declare Arrays, HashMaps, and Variables.
|
||||
declare -r var_logfile="${DIR_LOG}/4120_installation_kernel.sh"
|
||||
touch "${var_logfile}" && chmod 0600 "${var_logfile}"
|
||||
declare -r var_logfile="/root/.ciss/cdi/log/4120_installation_kernel.log"
|
||||
|
||||
touch "${TARGET}${var_logfile}" && chmod 0600 "${TARGET}${var_logfile}"
|
||||
|
||||
do_in_target_script "${TARGET}" "apt-get install -y ${image} 2>&1 | tee -a ${var_logfile}; echo ExitCode: \$? >> ${var_logfile}"
|
||||
|
||||
|
||||
@@ -79,10 +79,10 @@ installation_toolset() {
|
||||
)
|
||||
|
||||
declare -a ary_missing_pkgs=() ary_unique_pkgs=()
|
||||
declare -r var_logfile="${DIR_LOG}/4130_installation_toolset.sh"
|
||||
declare -r var_logfile="/root/.ciss/cdi/log/4130_installation_toolset.log"
|
||||
declare var_bin=""
|
||||
|
||||
touch "${var_logfile}" && chmod 0600 "${var_logfile}"
|
||||
touch "${TARGET}${var_logfile}" && chmod 0600 "${TARGET}${var_logfile}"
|
||||
|
||||
### Collecting missing binaries.
|
||||
for var_bin in "${!hmp_tool_pkg[@]}"; do
|
||||
|
||||
@@ -24,9 +24,9 @@ guard_sourcing
|
||||
#######################################
|
||||
installation_systemd() {
|
||||
### Declare Arrays, HashMaps, and Variables.
|
||||
declare -r var_logfile="${DIR_LOG}/4131_installation_systemd.sh"
|
||||
declare -r var_logfile="/root/.ciss/cdi/log/4131_installation_systemd.log"
|
||||
|
||||
touch "${var_logfile}" && chmod 0600 "${var_logfile}"
|
||||
touch "${TARGET}${var_logfile}" && chmod 0600 "${TARGET}${var_logfile}"
|
||||
|
||||
if ! do_in_target_script "${TARGET}" "type -P systemctl >/dev/null"; then
|
||||
do_log "info" "file_only" "4131() 'systemctl' NOT found, installing 'systemd' and dependencies."
|
||||
|
||||
Reference in New Issue
Block a user