OK part of my confusion is that 'grub2-mkconfig' does not work when
called directly. Doing that results in a malformed grub.cfg.
What is the correct way, on atomic builds, to recreate the grub.cfg?
How does rpm-ostree do this?
The closest I get to a command is 'ostree admin instutil
grub2-generate' but this fails with
**
ERROR:src/libostree/ostree-bootloader-grub2.c:154:_ostree_bootloader_grub2_generate_config:
assertion failed: (grub2_boot_device_id != NULL)
Aborted (core dumped)
I'm not sure what it wants.
Chris Murphy