GNU bug report logs - #26339
[PATCH 00/18] wip: Support non grub bootloaders.

Previous Next

Package: guix-patches;

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

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 26339 <at> debbugs.gnu.org
Subject: bug#26339: [PATCH 17/18] scripts: system: Adapt "switch-generation" to new bootloader API.
Date: Fri, 05 May 2017 09:21:04 +0200
Hey Danny !

> Ah, so this is trying to restore the correct bootloader to the correct device, should the user have switched bootloader of the guix system and then switched back.

That's it.

> What happens if the user switches to an old generation which doesn't have this new-style parameters file?

Well, by default the bootloader is assumed to be grub (because grub is
the only supported bootloader in pre-rework guix).

For the boot-device, it is set to #f if not read in parameter
file. During a switch-genereation if boot-device is #f, the
configuration is updated, but the bootloader is not reinstalled.

It was already what happended before my rework. The bootloader was not
reinstalled because we cannot be certain to reinstall the same grub
version as the one installed.

Mathieu





This bug report was last modified 7 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.