emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#35428: closed ([WIP] vm: Pass xorriso customizer.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#35428: closed ([WIP] vm: Pass xorriso customizer.)
Date: Sun, 19 May 2019 10:10:01 +0000

Your message dated Sun, 19 May 2019 12:09:01 +0200
with message-id <address@hidden>
and subject line Re: [WIP v6] vm: Pass xorriso customizer.
has caused the debbugs.gnu.org bug report #35428,
regarding [WIP] vm: Pass xorriso customizer.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
35428: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35428
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [WIP] vm: Pass xorriso customizer. Date: Thu, 25 Apr 2019 17:23:06 +0200
* gnu/build/vm.scm (make-iso9660-image): Accept XORRISO.
* gnu/system/vm.scm (iso9660-image): Pass XORRISO.
---
 gnu/build/vm.scm  | 9 +++++++--
 gnu/system/vm.scm | 3 ++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index 372cf63c68..52dd44ac21 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -422,7 +422,7 @@ SYSTEM-DIRECTORY is the name of the directory of the 
'system' derivation."
             ;; Graft the configuration file onto the image.
             (string-append "boot/grub/grub.cfg=" config-file))))
 
-(define* (make-iso9660-image grub config-file os-drv target
+(define* (make-iso9660-image xorriso grub config-file os-drv target
                              #:key (volume-id "Guix_image") (volume-uuid #f)
                              register-closures? (closures '()))
   "Given a GRUB package, creates an iso image as TARGET, using CONFIG-FILE as
@@ -430,6 +430,9 @@ GRUB configuration and OS-DRV as the stuff in it."
   (define grub-mkrescue
     (string-append grub "/bin/grub-mkrescue"))
 
+  (define grub-mkrescue-sed.sh
+    (string-append xorriso "/bin/grub-mkrescue-sed.sh"))
+
   (define target-store
     (string-append "/tmp/root" (%store-directory)))
 
@@ -484,7 +487,9 @@ GRUB configuration and OS-DRV as the stuff in it."
 
   (let ((pipe
          (apply open-pipe* OPEN_WRITE
-                grub-mkrescue "-o" target
+                grub-mkrescue
+                (string-append "--xorriso=" grub-mkrescue-sed.sh)
+                "-o" target
                 (string-append "boot/grub/grub.cfg=" config-file)
                 "etc=/tmp/root/etc"
                 "var=/tmp/root/var"
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 92b03b01ad..8a1272aff9 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -301,7 +301,8 @@ INPUTS is a list of inputs (as for packages)."
                           inputs)))
 
              (set-path-environment-variable "PATH" '("bin" "sbin") inputs)
-             (make-iso9660-image #$(bootloader-package bootloader)
+             (make-iso9660-image #$xorriso
+                                 #$(bootloader-package bootloader)
                                  #$bootcfg-drv
                                  #$os
                                  "/xchg/guixsd.iso"



--- End Message ---
--- Begin Message --- Subject: Re: [WIP v6] vm: Pass xorriso customizer. Date: Sun, 19 May 2019 12:09:01 +0200
Pushed to guix master with changes to the commit message.

Commit 1d86b05618a063378d7ffc89a9b4c33dd65a760c.

Attachment: pgpV1wBPNsOD6.pgp
Description: OpenPGP digital signature


--- End Message ---

reply via email to

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