V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -37,8 +37,6 @@ installation_kernel() {
|
||||
chroot_script "${TARGET}" "
|
||||
export INITRD=No
|
||||
apt-get install -y --no-install-recommends --no-install-suggests ${VAR_KERNEL} initramfs-tools 2>&1 | tee -a ${var_logfile}
|
||||
RC=( \${PIPESTATUS[@]} )
|
||||
echo ExitCode of PIPESTATUS[0]: \${RC[0]} >> ${var_logfile}
|
||||
"
|
||||
|
||||
do_log "info" "file_only" "4120() Kernel image: '${VAR_KERNEL}' installed successfully."
|
||||
@@ -50,8 +48,6 @@ installation_kernel() {
|
||||
chroot_script "${TARGET}" "
|
||||
export INITRD=No
|
||||
apt-get install -y --no-install-recommends --no-install-suggests ${image} initramfs-tools 2>&1 | tee -a ${var_logfile}
|
||||
RC=( \${PIPESTATUS[@]} )
|
||||
echo ExitCode of PIPESTATUS[0]: \${RC[0]} >> ${var_logfile}
|
||||
"
|
||||
|
||||
do_log "info" "file_only" "4120() Kernel image: '${image}' installed successfully."
|
||||
@@ -61,4 +57,7 @@ installation_kernel() {
|
||||
fi
|
||||
|
||||
}
|
||||
### Prevents accidental 'unset -f'.
|
||||
# shellcheck disable=SC2034
|
||||
readonly -f installation_kernel
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
|
||||
Reference in New Issue
Block a user