summary refs log tree commit diff
path: root/tests/guix-system.sh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-01-21 22:17:17 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-21 23:09:55 +0100
commitf61e6e5238ff43b959c258ed92531029a1c82fa7 (patch)
treeac4906d22861f0f3afd4c6276e00b6186a41f9df /tests/guix-system.sh
parentf9e8a12379c6fefc9e5c3c7fc3926599bbefc013 (diff)
downloadguix-f61e6e5238ff43b959c258ed92531029a1c82fa7.tar.gz
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'.
Diffstat (limited to 'tests/guix-system.sh')
-rw-r--r--tests/guix-system.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index adb623d244..9903677a02 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 "/")