Subject: bug#26339: [PATCH 17/18] scripts: system: Adapt "switch-generation" to new bootloader API.

From: Danny Milosavljevic <[email-masked]>
Date: Fri, 5 May 2017 09:13:06 +0200

Hi Mathieu,

On Sat, 15 Apr 2017 19:27:09 +0200
Mathieu Othacehe <[email-masked]> wrote:

> Yes my idea was to use the boot-type to keep track of the installed
> bootloader, for each system generation (and to restore it if needed).

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.

OK!

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