Here is a simple work around for the time being:
[ -b /dev/xvda ] && { echo "grub-pc grub-pc/install_devices string /dev/xvda" \ debconf-set-selections echo "grub-pc grub-pc/install_devices_empty boolean false" \ debconf-set-selections }
(This will check if /dev/xvda is a block device and then tell dpkg to use the right device for installing grub)
Here is a simple work around for the time being:
[ -b /dev/xvda ] && { install_ devices string /dev/xvda" \
debconf- set-selections install_ devices_ empty boolean false" \
debconf- set-selections
echo "grub-pc grub-pc/
echo "grub-pc grub-pc/
}
(This will check if /dev/xvda is a block device and then tell dpkg to use the right device for installing grub)