guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: tests: Adjust for removal of 'device' field in <bootloader-config


From: guix-commits
Subject: 05/06: tests: Adjust for removal of 'device' field in <bootloader-configuration>.
Date: Mon, 21 Jan 2019 17:21:48 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit f61e6e5238ff43b959c258ed92531029a1c82fa7
Author: Ludovic Court├Ęs <address@hidden>
Date:   Mon Jan 21 22:17:17 2019 +0100

    tests: Adjust for removal of 'device' field in <bootloader-configuration>.
    
    This is a followup to commit 5f7467f046c3c1648cdf6eb81b3ec041bfc1f9bb.
    
    * tests/guix-system.sh: For <bootloader-configuration> records, use
    'target' rather than 'device'.
---
 tests/guix-system.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index adb623d..9903677 100644
--- a/tests/guix-system.sh
+++ b/tests/guix-system.sh
@@ -109,7 +109,7 @@ cat > "$tmpfile" <<EOF
   (timezone "Europe/Paris")                           ; 6
   (locale "en_US.UTF-8")                              ; 7
 
-  (bootloader (GRUB-config (device "/dev/sdX")))      ; 9
+  (bootloader (GRUB-config (target "/dev/sdX")))      ; 9
   (file-systems (cons (file-system
                         (device (file-system-label "root"))
                         (mount-point "/")
@@ -137,7 +137,7 @@ OS_BASE='
 
   (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
-               (device "/dev/sdX")))
+               (target "/dev/sdX")))
   (file-systems (cons (file-system
                         (device (file-system-label "root"))
                         (mount-point "/")
@@ -209,7 +209,7 @@ make_user_config ()
 
   (bootloader (bootloader-configuration
                 (bootloader grub-bootloader)
-                (device "/dev/sdX")))
+                (target "/dev/sdX")))
   (file-systems (cons (file-system
                         (device (file-system-label "root"))
                         (mount-point "/")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]