From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czRUU-0005Bd-TA for guix-patches@gnu.org; Sat, 15 Apr 2017 13:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czRUQ-0004Er-Q1 for guix-patches@gnu.org; Sat, 15 Apr 2017 13:28:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51057) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czRUQ-0004Ed-Lf for guix-patches@gnu.org; Sat, 15 Apr 2017 13:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czRUQ-0007pn-DO for guix-patches@gnu.org; Sat, 15 Apr 2017 13:28:02 -0400 Subject: bug#26339: [PATCH 17/18] scripts: system: Adapt "switch-generation" to new bootloader API. Resent-Message-ID: References: <20170402135242.2958-1-m.othacehe@gmail.com> <20170402135242.2958-17-m.othacehe@gmail.com> <20170415184756.10b178be@scratchpost.org> From: Mathieu Othacehe In-reply-to: <20170415184756.10b178be@scratchpost.org> Date: Sat, 15 Apr 2017 19:27:09 +0200 Message-ID: <8737d9inte.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 26339@debbugs.gnu.org Thanks again for your patience Danny ! > Wait. So that's the only reason for boot-type ? I guess it works like that too, but couldn't we check the operating-system bootloader-configuration directly ? Or is it for something completely different ? 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). I tried to find a better idea but I didn't. I'm not sure what you mean by checking "bootloader-configuration" ? Mathieu