V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m41s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-08 08:40:14 +01:00
parent aecc372f5a
commit 19cac9430a
2 changed files with 7 additions and 4 deletions

View File

@@ -24,6 +24,8 @@ guard_sourcing
update_initramfs() {
### Declare Arrays, HashMaps, and Variables.
declare -r var_logfile="/root/.ciss/cdi/log/4320_update_initramfs.log"
# shellcheck disable=SC2153
declare -r var_kernel="${VAR_KERNEL#linux-image-}"
chroot_logger "${TARGET}${var_logfile}"
@@ -33,6 +35,7 @@ update_initramfs() {
"
chroot_script "${TARGET}" "
depmod -a ${var_kernel}
update-initramfs -c -v -k all 2>&1 | tee -a ${var_logfile}
echo ExitCode: \$? >> ${var_logfile}
"