From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czQrm-0007e3-Vh for guix-patches@gnu.org; Sat, 15 Apr 2017 12:48:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czQri-0006YU-2a for guix-patches@gnu.org; Sat, 15 Apr 2017 12:48:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czQrh-0006YG-Uq for guix-patches@gnu.org; Sat, 15 Apr 2017 12:48:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czQrh-00055M-NK for guix-patches@gnu.org; Sat, 15 Apr 2017 12:48:01 -0400 Subject: bug#26339: [PATCH 17/18] scripts: system: Adapt "switch-generation" to new bootloader API. Resent-Message-ID: Date: Sat, 15 Apr 2017 18:47:56 +0200 From: Danny Milosavljevic Message-ID: <20170415184756.10b178be@scratchpost.org> In-Reply-To: <20170402135242.2958-17-m.othacehe@gmail.com> References: <20170402135242.2958-1-m.othacehe@gmail.com> <20170402135242.2958-17-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Mathieu Othacehe Cc: 26339@debbugs.gnu.org On Sun, 2 Apr 2017 15:52:41 +0200 Mathieu Othacehe wrote: > * guix/scripts/system.scm (profile-grub-entries): [...] > (reinstall-grub): Rename to reinstall-bootloader. Read boot-device and > boot-type from parameters file to be able to restore the correct bootloader > on specified device. 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 ?