guix-patches
[Top][All Lists]
Advanced

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

[bug#52550] [PATCH 09/10] scripts: system: Use the disk-image size argum


From: Mathieu Othacehe
Subject: [bug#52550] [PATCH 09/10] scripts: system: Use the disk-image size argument for VM generation.
Date: Thu, 16 Dec 2021 14:06:48 +0100

* guix/scripts/system.scm (system-derivation-for-action): Use the given
image-size unconditionnaly when calling system-qemu-image/shared-store-script.
---
 guix/scripts/system.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index a73fe55418..f7e17d2db4 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -710,10 +710,7 @@ (define* (system-derivation-for-action image action
                                               #:full-boot? full-boot?
                                               #:volatile? volatile?
                                               #:graphic? graphic?
-                                              #:disk-image-size
-                                              (if full-boot?
-                                                  image-size
-                                                  (* 70 (expt 2 20)))
+                                              #:disk-image-size image-size
                                               #:mappings mappings))
       ((image disk-image vm-image docker-image)
        (when (eq? action 'disk-image)
-- 
2.34.0






reply via email to

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