I managed to resolve this by having a customized script on image building:
dpkg-query -f '${binary:Package}\n' -W | grep grub | xargs apt-mark unhold
This allows curtin to do dpkg-reconfigure for all grub- packages while installing.
I managed to resolve this by having a customized script on image building:
dpkg-query -f '${binary:Package}\n' -W | grep grub | xargs apt-mark unhold
This allows curtin to do dpkg-reconfigure for all grub- packages while installing.