For the concern of re-introducing bug 1228462, the patch has voided being a regression by detecting the existence of grub.cfg, so that we'll run update-grub only when grub2 is successfully installed and configured which is not the case during image generation.
@sru-team,
For the concern of re-introducing bug 1228462, the patch has voided being a regression by detecting the existence of grub.cfg, so that we'll run update-grub only when grub2 is successfully installed and configured which is not the case during image generation.