On 26/09/2013 14:55, Tom Gundersen wrote:
> On Thu, Sep 26, 2013 at 12:36 AM, Dave Reisner <[email protected]> wrote:
>> On Wed, Sep 25, 2013 at 08:39:41PM +0200, Tom Gundersen wrote:
>>> This will allow systemd's kernel-install script to generate and install
>>> an initrd as per the freedesktop boot loader specs.
>>
>> What bootloaders implement this?
> 
> gummiboot does and there are patches for grub (but I don't think they
> are upstreamed yet), I don't think anyone else do yet. That said,
> other bootloaders could also add kernel-install hooks of their own to
> update their configs to point at the correct kernel/initramfs images,
> so they don't necessarily need to implement the spec to take advantage
> of this.
> 
> I know Sébastien was looking at refind, did you find a simple way to
> integrate this with refind without it implementing the boot spec?

Sadly, that doesn't work. Refind scan for linux kernel in the efi
partition, but if the kernel is not suffixed by .efi, it looks only for
files beginning by vmlinuz or bzimage. The boot spec names kernel files
linux. I sent a patch[1] proposal to refind forum[2].

I switched all my custom kernel to use kernel-install for 2 months, and
I use a custom 90-loaderentry.install[3], which create kernel in the
right directory (for grub) and with the right naming (for refind).
Letting the directory created by kernel-install empty (two copies are
too expensive).

Cheers,

[1]
https://horus.seblu.net/~seblu/refind/0001-Add-Freedesktop-bootspec-support.patch
[2] https://sourceforge.net/p/refind/discussion/general/thread/b1062250/
[3] https://horus.seblu.net/~seblu/refind/90-loaderentry.install

-- 
Sébastien "Seblu" Luttringer
https://www.seblu.net
GPG: 0x2072D77A

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to