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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-07 13:43:33 +02:00
parent 7c4c0174e9
commit d92f8ebd4c
4 changed files with 36 additions and 29 deletions

View File

@@ -13,7 +13,7 @@
guard_sourcing
#######################################
# Calling 'update-initramfs -u -v -k all' inside Target.
# Finally, deploy all changes done via 'update-grub' and 'update-initramfs'.
# Globals:
# TARGET
# Arguments:
@@ -27,6 +27,12 @@ update_initramfs() {
touch "${TARGET}${var_logfile}" && chmod 0600 "${TARGET}${var_logfile}"
do_in_target_script "${TARGET}" "
update-grub 2>&1 | tee -a ${var_logfile}
echo ExitCode: \$? >> ${var_logfile}
"
do_in_target_script "${TARGET}" "
update-initramfs -u -v -k all 2>&1 | tee -a ${var_logfile}
echo ExitCode: \$? >> ${var_logfile}