Snappy images have grub.cfg in $cmdpath/efi/boot, which then loads a better /efi/ubuntu/grub/grub.cfg which will look for the real file on the filesystem.
Snappy personal image built as such currently fails to boot:
sudo ubuntu-device-flash personal rolling --channel=edge --output image.img
GRUB fails to find /boot/ which is the typical prefix, and fails to find /.disk/info which then really breaks $prefix.
Workaround is to handle grub.cfg being in $cmdpath directly (in other words, in /efi/boot).
Snappy images have grub.cfg in $cmdpath/efi/boot, which then loads a better /efi/ubuntu/ grub/grub. cfg which will look for the real file on the filesystem.
Snappy personal image built as such currently fails to boot:
sudo ubuntu-device-flash personal rolling --channel=edge --output image.img
GRUB fails to find /boot/ which is the typical prefix, and fails to find /.disk/info which then really breaks $prefix.
Workaround is to handle grub.cfg being in $cmdpath directly (in other words, in /efi/boot).