Skip to content

Commit

Permalink
DLPX-90976 add "--debug-image=all" to grub-install (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakash Surya authored May 1, 2024
1 parent 0cca5c2 commit 7b49e04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions upgrade/upgrade-scripts/rootfs-container
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ function set_bootfs_not_mounted() {
die "bootloader device '/dev/$dev' not block device"

chroot "/var/lib/machines/$CONTAINER" \
grub-install --root-directory=/mnt "/dev/$dev" ||
grub-install -v --debug-image=all \
--root-directory=/mnt "/dev/$dev" ||
die "'grub-install' for '$dev' failed in '$CONTAINER'"
done

Expand Down Expand Up @@ -206,7 +207,8 @@ function set_bootfs_mounted() {
[[ -b "/dev/$dev" ]] ||
die "bootloader device '/dev/$dev' not block device"

grub-install --root-directory=/mnt "/dev/$dev" ||
grub-install -v --debug-image=all \
--root-directory=/mnt "/dev/$dev" ||
die "'grub-install' for '$dev' failed in '$CONTAINER'"
done

Expand Down

0 comments on commit 7b49e04

Please sign in to comment.