Skip to content

Commit

Permalink
DLPX-91169 Full upgrade failed from 22.0 to 23.0 (AWS) because the en…
Browse files Browse the repository at this point in the history
…gine become unresponsive during finish_deferred step. (#760)

PR URL: https://www.github.com/delphix/appliance-build/pull/760
  • Loading branch information
Prakash Surya authored May 17, 2024
1 parent 7b49e04 commit af4560c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions upgrade/upgrade-scripts/rootfs-container
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ function set_bootfs_not_mounted() {
die "bootloader device '/dev/$dev' not block device"

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

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

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

Expand Down

0 comments on commit af4560c

Please sign in to comment.