GNU bug report logs -
#26339
[PATCH 00/18] wip: Support non grub bootloaders.
Previous Next
Reported by: Mathieu Othacehe <m.othacehe <at> gmail.com>
Date: Sun, 2 Apr 2017 13:51:01 UTC
Severity: important
Tags: patch
Done: Mathieu Othacehe <m.othacehe <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Mathieu,
Mathieu Othacehe <m.othacehe <at> gmail.com> skribis:
> I implemented most of this split between
> bootloader-configuration/bootloader and it's waaay better !
Woow, that was fast! :-)
> I still have one small concern. In following patches, I added boot-type
> (and boot-device) to parameters file. This allows to re-install the
> correct bootloader (on the correct device) when using "guix system
> switch-generation".
>
> What field could we store in parameters to be able to restore the
> correct bootloader ?
Good question! I guess we need to store the name of the bootloader type
in the “parameters” file, and then look it up upon switch-generation?
But maybe we also need to store a reference to the bootloader package so
that it isn’t GC’d?
> My initial idea was to add every <bootloader> to a list, a look it up by
> name to restore the correct bootloader. So we could store the bootloader
> name in the parameters file. This sounds a bit hack, do you have a
> better idea ?
No better idea, sounds like a good start.
I think the most important is to make sure that our current use case,
where people always use GRUB, doesn’t break.
Thanks,
Ludo’.
This bug report was last modified 7 years and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.