From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8HA0AXy8smbHNgEA62LTzQ:P1 (envelope-from ) for ; Wed, 07 Aug 2024 00:14:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8HA0AXy8smbHNgEA62LTzQ (envelope-from ) for ; Wed, 07 Aug 2024 02:14:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=e6CYRX95; dkim=fail ("headers rsa verify failed") header.d=lunabee.space header.s=purelymail3 header.b=FNWf4vGs; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail3 header.b=eZxrBoW6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722989691; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=T7CrnYrZUPErLjr1dyo1VcrbKFppbiWQ623b6fS5A3A=; b=NmwnahMaj3iZA6l6qmMzVpK4wDwvGroQdYSUq8/C9p+qEpuLDF9Xbg5GCm5ARliEZrTjM3 r4QyEvpqKPgC6TuVC1G+ryu33/No8j8Z8LD5Jkt3+X8CRFfYtRq5psLhxLzvw00lgw5JzO dXdHxKqMnB/17EdYJGAIOrcmwMdOV+jf8kCYLYbTYOxBk1hKBkM9PCWYej4wSvAWbW0wxm prFIX6X6sG6eutrqFZQw1+NrJfR3/ztpgYa0FOhkaCrQK7rW6txI0Rw1cRTyM8ZT0l3ZZ2 eOY4q4R1rv8vd2McX4RS21h1Lpv02r5QbsHNFgm6wuhXraDbBh2S1b4L7ZOv4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722989691; a=rsa-sha256; cv=none; b=KS83oMWlpOEnszE6kRKyr0ioQmoRqRk/6ck+o01lpRjxXrU28Can2oCSPu2vou9xjnfEXG ySiyxi7EG635QgbgEmxvxOhA8RsM1E4rb12Q+1R/dgvdLdmhPqIaFzw8cZ12jcMJQd7aBU uSDaQeP59v2hLObAU4nabpwDGnqOmEvj3oPuy8qqIEIJZ6EFwPqphuAUOr6y8bH+2Yt+DC 6EX7u4mUcZIruciU9XZ4UAw8bTC1gkHo+GMpunNNVO1srrHupL36EmwfzugG2XHj7/2WVr 5+X6rjaw1JA2exVpOubujvu2u7NAyO7cges+fpoIkYt2eY5CdFD0dkgWbDWmWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=e6CYRX95; dkim=fail ("headers rsa verify failed") header.d=lunabee.space header.s=purelymail3 header.b=FNWf4vGs; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail3 header.b=eZxrBoW6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A70F164EF6 for ; Wed, 07 Aug 2024 02:14:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbUK9-0008S7-L6; Tue, 06 Aug 2024 20:14:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sbUK8-0008Mo-8L for guix-patches@gnu.org; Tue, 06 Aug 2024 20:14:40 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sbUK7-0002d4-V3 for guix-patches@gnu.org; Tue, 06 Aug 2024 20:14:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=T7CrnYrZUPErLjr1dyo1VcrbKFppbiWQ623b6fS5A3A=; b=e6CYRX95rn2mm2d4v6THXeaVqzQYtBS4UFYM1b1y33D+942dMxo/OiXh1X8emcLPRZWxd0BRtZiMRB/pQ3LkXF+a4nFKH1CwjSdtVuCFGcvWay8ujw4Q5ZskXRy09TsPruF4xeBdUODVGsA5Iiwwa7cNRFzBunoGOZ6K2V7kRJaqTEw4/NB36uvxe7UOcfR1XxzaHcrxHCpupy2QubP1pScU872nUNgQv4xnhh7MVxZeGd92GXqY8HT/FW1xeukaZAh5KcOMl001ymgL/xBXeWVuQHkYr0KZbxNS9SVDH+p4dSyShvPIKgr+CHxhulwpcpQgf3rH7HvPDTNd/vvtDQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbUKW-000729-Ad; Tue, 06 Aug 2024 20:15:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72457] [PATCH v5 14/15] gnu: tests: Update tests to new targets system. Resent-From: Lilah Tascheter Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 07 Aug 2024 00:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72457 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72457@debbugs.gnu.org Cc: Lilah Tascheter , Sergey Trofimov , Maxim Cournoyer X-Debbugs-Original-Xcc: Maxim Cournoyer Received: via spool by 72457-submit@debbugs.gnu.org id=B72457.172298966126939 (code B ref 72457); Wed, 07 Aug 2024 00:15:04 +0000 Received: (at 72457) by debbugs.gnu.org; 7 Aug 2024 00:14:21 +0000 Received: from localhost ([127.0.0.1]:33331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbUJo-00070Q-Cd for submit@debbugs.gnu.org; Tue, 06 Aug 2024 20:14:21 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:33190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbUJl-0006zr-Sx for 72457@debbugs.gnu.org; Tue, 06 Aug 2024 20:14:18 -0400 DKIM-Signature: a=rsa-sha256; b=FNWf4vGsHBuqFC8a3xzSz42mVyjxIEfx5oIhQElGv5ySPZ9l+9tstgA761UuyYqef7k/2vzUajAOsWrFfT45LH5g2t+GYTiJQTf5uvOHLo8oIaZFoEiLYc/tSQ99AJY1alMQkZwsbXzp8s+FwsIgUNOMYgAP1NZB7XjA1JOzSY+Laoffpl8fKZruDGFEgkYMzdSt3lSe5cPUjSITEfYgt3kSUXToh9VMcZaIUQqGXdivj/aRWxGBEHRweF7Qs5NYekj2JystzzUTqueiTAYxRq1q5gQ3Czl8+tYNHz46MjoNuG81aPjqvr36QWOkfVuxHF7xvX06Z19AqK4cCs7cOQ==; s=purelymail3; d=lunabee.space; v=1; bh=c3Xw7WvqzR5t+XNjmuLAZfgJcTYAGf+FSk0jfE/3dxU=; h=Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=eZxrBoW6s5gaxWa9NohR+sg0k7eTZ8bPdGpQwtctEQVMKJUo+X1UyBy/p3WqTJp9yfUQYLV9DfPIBhJ+7dRq95nLbu1IkSxI6aIJ9xjsB/cvubODedvjbdYc1ThQ9gvRAKV6v7MdRqDx0x8IMhc8X4nSKVv2xVdACvSVcIkcxpKxGLPpMi08JScwgkC88nTz6+7FEXFXrg1iF8re2XiIYR8mtsVdps7Jh0LyljcAviVRlEWhvrixUZMySJRC+vT5eXjBAdTnPcqHlX29RnsKwJ12b9K+fiSHP7TWmIQEm1/4ivA20XMWU2oZ19o8ppV2AopL5cbaiUECFiP4TKmpSA==; s=purelymail3; d=purelymail.com; v=1; bh=c3Xw7WvqzR5t+XNjmuLAZfgJcTYAGf+FSk0jfE/3dxU=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 72457@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1661201426; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 07 Aug 2024 00:13:19 +0000 (UTC) Date: Tue, 6 Aug 2024 19:11:27 -0500 Message-ID: <3e07e3f334fdbb0f0cbcf60d0da593ff12d9b5b3.1722989488.git.lilah@lunabee.space> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Content-Type: text/plain; charset=UTF-8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Lilah Tascheter via Guix-patches Reply-To: Lilah Tascheter Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.44 X-Spam-Score: -2.44 X-Migadu-Queue-Id: A70F164EF6 X-Migadu-Scanner: mx11.migadu.com X-TUID: yrghdO6DtDND * gnu/services/virtualization.scm (%virtual-build-machine-operating-system): Remove bootloader. (%hurd-vm-operating-system): Remove targets. * gnu/system/hurd.scm (%hurd-default-operating-system): Remove targets. * gnu/tests.scm (%simple-os), gnu/tests/ganeti.scm (%ganeti-os), gnu/tests/image.scm (%simple-efi-os), gnu/tests/install.scm (%minimal-os, %minimal-extlinux-os, %minimal-os-on-vda, %separate-home-os, %separate-store-os, %raid-root-os, %encrypted-root-os, %lvm-separate-home-os, %encrypted-home-os, %encrypted-home-os-key-file, %encrypted-root-not-boot-os, %btrfs-root-os-source, %btrfs-raid-root-os-source, %btrfs-root-on-subvolume-os, %btrfs-raid10-root-os, %jfs-root-os, %f2fs-root-os, %xfs-root-os), gnu/tests/nfs.scm (%base-os), gnu/tests/telephony.scm (make-jami-os), gnu/tests/vnc.scm (%xvnc-os): Update bootloader targets. Change-Id: I3d66a839a9b2a73b8b65946950728b1e0155ca1e --- gnu/services/virtualization.scm | 11 ++--- gnu/system/hurd.scm | 4 +- gnu/tests.scm | 4 +- gnu/tests/ganeti.scm | 4 +- gnu/tests/image.scm | 4 +- gnu/tests/install.scm | 72 ++++++++++++++++++++++++--------- gnu/tests/nfs.scm | 4 +- gnu/tests/telephony.scm | 4 +- gnu/tests/vnc.scm | 4 +- tests/boot-parameters.scm | 2 +- 10 files changed, 77 insertions(+), 36 deletions(-) diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.= scm index d87e494348..f698532a94 100644 --- a/gnu/services/virtualization.scm +++ b/gnu/services/virtualization.scm @@ -1191,17 +1191,13 @@ (define %minimal-vm-syslog-config (define %virtual-build-machine-operating-system (operating-system (host-name "build-machine") - (locale "en_US.utf8") (locale-definitions ;; Save space by providing only one locale. (list (locale-definition (name "en_US.utf8") (source "en_US") (charset "UTF-8")))) - - (bootloader (bootloader-configuration ;unused - (bootloader grub-minimal-bootloader) - (targets '("/dev/null")))) + ;; no bootloader (file-systems (cons (file-system ;unused (mount-point "/") (device "none") @@ -1624,9 +1620,8 @@ (define %hurd-vm-operating-system (host-name "childhurd") (timezone "Europe/Amsterdam") (bootloader (bootloader-configuration - (bootloader grub-minimal-bootloader) - (targets '("/dev/vda")) - (timeout 0))) + (bootloader grub-minimal-bootloader) + (timeout 0))) (packages (cons* gdb-minimal (operating-system-packages %hurd-default-operating-system))) diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm index cbe0081382..af04e82485 100644 --- a/gnu/system/hurd.scm +++ b/gnu/system/hurd.scm @@ -119,9 +119,7 @@ (define %hurd-default-operating-system (kernel %hurd-default-operating-system-kernel) (kernel-arguments '()) (hurd hurd) - (bootloader (bootloader-configuration - (bootloader grub-minimal-bootloader) - (targets '("/dev/vda")))) + (bootloader (bootloader-configuration (bootloader grub-minimal-bootloa= der))) (initrd #f) (initrd-modules '()) (firmware '()) diff --git a/gnu/tests.scm b/gnu/tests.scm index 5ff9db82fc..f46ccf5174 100644 --- a/gnu/tests.scm +++ b/gnu/tests.scm @@ -237,7 +237,9 @@ (define %simple-os =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets '("/dev/sdX")))) + (targets (list (bootloader-target + (type 'disk) + (device"/dev/sdX")))))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") diff --git a/gnu/tests/ganeti.scm b/gnu/tests/ganeti.scm index 29eb354044..789879b26f 100644 --- a/gnu/tests/ganeti.scm +++ b/gnu/tests/ganeti.scm @@ -40,7 +40,9 @@ (define %ganeti-os =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets '("/dev/vda")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vda")))))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") diff --git a/gnu/tests/image.scm b/gnu/tests/image.scm index be6852cae0..8d960cf7b8 100644 --- a/gnu/tests/image.scm +++ b/gnu/tests/image.scm @@ -55,7 +55,9 @@ (define %simple-efi-os (inherit %simple-os) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) - (targets '("/boot/efi")))))) + (targets (list (bootloader-target + (type 'esp) + (path "/boot/efi")))))))) =20 ;; An MBR disk image with a single ext4 partition. (define i1 diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm index 18a2fc119b..d67a71f12e 100644 --- a/gnu/tests/install.scm +++ b/gnu/tests/install.scm @@ -103,7 +103,9 @@ (define-os-with-source (%minimal-os %minimal-os-source) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons (file-system (device (file-system-label "my-root")) @@ -141,7 +143,9 @@ (define-os-with-source (%minimal-extlinux-os =20 (bootloader (bootloader-configuration (bootloader extlinux-gpt-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons (file-system (device (file-system-label "my-root")) @@ -434,7 +438,9 @@ (define-os-with-source (%minimal-os-on-vda %minimal-os-= on-vda-source) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vda")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vda")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons (file-system (device (file-system-label "my-root")) @@ -510,7 +516,9 @@ (define-os-with-source (%separate-home-os %separate-hom= e-os-source) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets '("/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons* (file-system (device (file-system-label "my-root")) @@ -565,7 +573,9 @@ (define-os-with-source (%separate-store-os %separate-st= ore-os-source) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons* (file-system (device (file-system-label "root-fs")) @@ -642,7 +652,9 @@ (define-os-with-source (%raid-root-os %raid-root-os-sou= rce) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) =20 ;; Add a kernel module for RAID-1 (aka. "mirror"). @@ -725,7 +737,9 @@ (define-os-with-source (%encrypted-root-os %encrypted-r= oot-os-source) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets '("/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) =20 ;; Note: Do not pass "console=3DttyS0" so we can use our passphrase pr= ompt ;; detection logic in 'enter-luks-passphrase'. @@ -858,7 +872,9 @@ (define-os-with-source (%lvm-separate-home-os %lvm-sepa= rate-home-os-source) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) =20 (mapped-devices (list (mapped-device @@ -943,7 +959,9 @@ (define-os-with-source (%encrypted-home-os %encrypted-h= ome-os-source) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) =20 ;; Note: Do not pass "console=3DttyS0" so we can use our passphrase pr= ompt ;; detection logic in 'enter-luks-passphrase'. @@ -1070,7 +1088,9 @@ (define-os-with-source (%encrypted-home-os-key-file =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))) (extra-initrd "/key-file.cpio"))) (kernel-arguments '("console=3DttyS0")) =20 @@ -1130,7 +1150,9 @@ (define-os-with-source (%encrypted-root-not-boot-os =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) =20 (mapped-devices (list (mapped-device (source @@ -1232,7 +1254,9 @@ (define-os-with-source (%btrfs-root-os %btrfs-root-os= -source) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons (file-system (device (file-system-label "my-root")) @@ -1306,7 +1330,9 @@ (define-os-with-source (%btrfs-raid-root-os %btrfs-ra= id-root-os-source) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) =20 (file-systems (cons (file-system @@ -1374,7 +1400,9 @@ (define-os-with-source (%btrfs-root-on-subvolume-os (locale "en_US.UTF-8") (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons* (file-system (device (file-system-label "btrfs-pool")) @@ -1467,7 +1495,9 @@ (define-os-with-source (%btrfs-raid10-root-os (bootloader (map (lambda (targ) (bootloader-configuration (bootloader grub-bootloader) - (targets (list targ)))) + (targets (list (bootloader-target + (type 'disk) + (device targ)))))) '("/dev/vdb" "/dev/vdc" "/dev/vdd" "/dev/vde"))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons* (file-system @@ -1577,7 +1607,9 @@ (define-os-with-source (%jfs-root-os %jfs-root-os-sou= rce) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons (file-system (device (file-system-label "my-root")) @@ -1650,7 +1682,9 @@ (define-os-with-source (%f2fs-root-os %f2fs-root-os-s= ource) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons (file-system (device (file-system-label "my-root")) @@ -1723,7 +1757,9 @@ (define-os-with-source (%xfs-root-os %xfs-root-os-sou= rce) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets (list "/dev/vdb")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/vdb")))))) (kernel-arguments '("console=3DttyS0")) (file-systems (cons (file-system (device (file-system-label "my-root")) diff --git a/gnu/tests/nfs.scm b/gnu/tests/nfs.scm index 0d9972e0e9..2f97126df7 100644 --- a/gnu/tests/nfs.scm +++ b/gnu/tests/nfs.scm @@ -51,7 +51,9 @@ (define %base-os =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets '("/dev/sdX")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/sdX")))))) (file-systems %base-file-systems) (users %base-user-accounts) (packages (cons* diff --git a/gnu/tests/telephony.scm b/gnu/tests/telephony.scm index f03ea963f7..ee858d9c91 100644 --- a/gnu/tests/telephony.scm +++ b/gnu/tests/telephony.scm @@ -90,7 +90,9 @@ (define* (make-jami-os #:key provisioning? partial?) =20 (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets '("/dev/sdX")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/sdX")))))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") diff --git a/gnu/tests/vnc.scm b/gnu/tests/vnc.scm index ab1c2749f3..cba9c565e0 100644 --- a/gnu/tests/vnc.scm +++ b/gnu/tests/vnc.scm @@ -51,7 +51,9 @@ (define %xvnc-os (locale "en_US.UTF-8") (bootloader (bootloader-configuration (bootloader grub-bootloader) - (targets '("/dev/sdX")))) + (targets (list (bootloader-target + (type 'disk) + (device "/dev/sdX")))))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") diff --git a/tests/boot-parameters.scm b/tests/boot-parameters.scm index f214de360d..f343dbdfdb 100644 --- a/tests/boot-parameters.scm +++ b/tests/boot-parameters.scm @@ -63,7 +63,7 @@ (define %root-path "/") =20 (define %grub-boot-parameters (boot-parameters - (bootloader-name 'grub) + (bootloader-name '(grub)) (root-device %default-root-device) (label %default-label) (kernel %default-kernel) --=20 2.45.2