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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-08 19:06:51 +01:00
parent 89897ffb0d
commit 7a9126defc
4 changed files with 77 additions and 72 deletions

View File

@@ -15,7 +15,7 @@ guard_sourcing
#######################################
# Deploy all changes made using the 'update-grub' and 'update-initramfs' commands.
# Globals:
# VAR_CHROOT_SYS_MASK_HELPEr
# VAR_CHROOT_SYS_MASK_HELPER
# VAR_KERNEL
# Arguments:
# None
@@ -44,14 +44,14 @@ EOS_ENTER
source /tmp/.ciss_sysmask_helper.sh
### run: mask sys, build, unmask.
cdi_sys_mask_enter
cdi_sys_quick_enter
depmod -a ${var_kernel} 2>&1 | tee -a ${var_logfile}
update-initramfs -c -v -k all 2>&1 | tee -a ${var_logfile}
echo ExitCode: \$? >> ${var_logfile}
cdi_sys_mask_leave
cdi_sys_quick_leave
rm -f /tmp/.ciss_sysmask_helper.sh
"
@@ -62,4 +62,7 @@ EOS_ENTER
guard_dir && return 0
}
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f update_initramfs
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh