V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 57s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 57s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -52,6 +52,8 @@ update_grub() {
|
||||
|
||||
touch "${TARGET}${var_logfile}" && chmod 0600 "${TARGET}${var_logfile}"
|
||||
|
||||
do_log "debug" "file_only" "4230() Detected firmware: '${VAR_RECIPE_FIRMWARE}', architecture: '${VAR_ARCHITECTURE}'"
|
||||
|
||||
if [[ "${grub_skip,,}" != "true" ]]; then
|
||||
|
||||
### Install GRUB2 package
|
||||
@@ -63,6 +65,7 @@ update_grub() {
|
||||
case "${VAR_ARCHITECTURE,,}" in
|
||||
|
||||
amd64)
|
||||
do_log "debug" "file_only" "4230() Installing GRUB package variant: grub-efi-amd64"
|
||||
do_in_target_script "${TARGET}" "
|
||||
apt-get install -y --no-install-recommends -t bookworm-backports grub2 grub2-common grub-efi-amd64 grub-efi-amd64-bin 2>&1 | tee -a ${var_logfile}
|
||||
echo ExitCode: \$? >> ${var_logfile}
|
||||
@@ -70,6 +73,7 @@ update_grub() {
|
||||
;;
|
||||
|
||||
arm64)
|
||||
do_log "debug" "file_only" "4230() Installing GRUB package variant: grub-efi-arm64"
|
||||
do_in_target_script "${TARGET}" "
|
||||
apt-get install -y --no-install-recommends -t bookworm-backports grub2 grub2-common grub-efi-arm64 grub-efi-arm64-bin 2>&1 | tee -a ${var_logfile}
|
||||
echo ExitCode: \$? >> ${var_logfile}
|
||||
@@ -77,6 +81,7 @@ update_grub() {
|
||||
;;
|
||||
|
||||
i386)
|
||||
do_log "debug" "file_only" "4230() Installing GRUB package variant: grub-efi-ia32"
|
||||
do_in_target_script "${TARGET}" "
|
||||
apt-get install -y --no-install-recommends -t bookworm-backports grub2 grub2-common grub-efi-ia32 grub-efi-ia32-bin 2>&1 | tee -a ${var_logfile}
|
||||
echo ExitCode: \$? >> ${var_logfile}
|
||||
@@ -91,6 +96,7 @@ update_grub() {
|
||||
|
||||
else
|
||||
|
||||
do_log "debug" "file_only" "4230() Installing GRUB package variant: grub-pc-bin"
|
||||
do_in_target_script "${TARGET}" "
|
||||
apt-get install -y --no-install-recommends -t bookworm-backports grub2 grub2-common grub-pc grub-pc-bin 2>&1 | tee -a ${var_logfile}
|
||||
echo ExitCode: \$? >> ${var_logfile}
|
||||
|
||||
Reference in New Issue
Block a user