[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to handle hybrid (PC-BIOS + EFI) cloud images


On Thu, Sep 06, 2018 at 08:14:07PM +0200, Bastian Blank wrote:
> On Thu, Sep 06, 2018 at 08:46:57AM +0200, Bastian Blank wrote:
> > In the context of cloud images there are some additional requirements:
> > - We may not have EFI nvram, so grub-install call needs at least
> >   --no-nvram.
> > - The shim needs to be installed as well, when we have some usable.
> > - Boot bootloaders variants should always be installed on the disk with
> >   the EFI partition on it during upgrades, without question.
> My plan for now is to introduce another package with similar use then
> grub-pc or grub-efi-amd64.  It will depend on the correct *-bin
> packages, register a trigger on the grub binaries and handle all
> bootloader installation without questions if the setup is what it thinks
> is correct.

I implemented a prototype.

grub-cloud source package:
https://salsa.debian.org/cloud-team/grub-cloud, branch "initial"

Resulting image after hard-coding the binary package:


The idea of male and female are universal constants.
		-- Kirk, "Metamorphosis", stardate 3219.8

Reply to: