[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: system: Fix computation of boot parameters for LUKS devices.
From: |
Andy Wingo |
Subject: |
06/06: gnu: system: Fix computation of boot parameters for LUKS devices. |
Date: |
Wed, 20 Sep 2017 09:40:45 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guix.
commit 96bc6518002c3b2ad9f15cf36991b20bebcbbe8a
Author: Andy Wingo <address@hidden>
Date: Wed Sep 20 15:11:41 2017 +0200
gnu: system: Fix computation of boot parameters for LUKS devices.
* gnu/system.scm (read-boot-parameters): Fix store-device computation for
root
devices of type "device", like the LUKS partition described in the manual.
From a patch from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28445#23.
Signed-off-by: Andy Wingo <address@hidden>
---
gnu/system.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/system.scm b/gnu/system.scm
index 88b5346..b6c087a 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -278,6 +278,8 @@ directly by the user."
(store-device
(match (assq 'store rest)
+ (('store ('device #f) _ ...)
+ root-device)
(('store ('device device) _ ...)
(device-sexp->device device))
(_ ;the old format
@@ -909,8 +911,7 @@ listed in OS. The C library expects to find it under
"Given FS, a <file-system> object, return a value suitable for use as the
device in a <menu-entry>."
(case (file-system-title fs)
- ((uuid) (file-system-device fs))
- ((label) (file-system-device fs))
+ ((uuid label device) (file-system-device fs))
(else #f)))
(define (operating-system-boot-parameters os system.drv root-device)
- branch master updated (7986485 -> 96bc651), Andy Wingo, 2017/09/20
- 04/06: gnu: services: Add modesetting driver to xorg configuration path., Andy Wingo, 2017/09/20
- 03/06: gnu: xf86-video-intel: Update to latest Git., Andy Wingo, 2017/09/20
- 02/06: gnu: Add cheese., Andy Wingo, 2017/09/20
- 01/06: gnu: Add gnome-video-effects., Andy Wingo, 2017/09/20
- 05/06: gnu: xorg-server: Prefer intel driver only for older GPUs., Andy Wingo, 2017/09/20
- 06/06: gnu: system: Fix computation of boot parameters for LUKS devices.,
Andy Wingo <=