grub-probe must not be called during image build so grub is diverted. In multilayer image the chroot is always the tip of the filesystem, so we divert grub at the beginning of each pass and undivdert it as the end. For flat images, it's diverted just before building the chroot and undiverted after.snap-tool-base-none
parent
41c342ebe2
commit
38bb0b3301
Loading…
Reference in new issue