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

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

[debbugs-tracker] bug#31757: closed ('guix system disk-image --format=is


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31757: closed ('guix system disk-image --format=iso9660' includes more than the OS closure)
Date: Tue, 26 Jun 2018 12:32:01 +0000

Your message dated Tue, 26 Jun 2018 14:30:59 +0200
with message-id <address@hidden>
and subject line Re: bug#31757: 'guix system disk-image --format=iso9660' 
includes more than the OS closure
has caused the debbugs.gnu.org bug report #31757,
regarding 'guix system disk-image --format=iso9660' includes more than the OS 
closure
to be marked as done.

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


-- 
31757: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31757
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 'guix system disk-image --format=iso9660' includes more than the OS closure Date: Fri, 08 Jun 2018 15:23:27 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Hey hey!

Turns out ‘guix system disk-image --format=iso9660’ includes not sure
the closure of the given OS, but everything that’s in the build
environment’s store.  So typically, we end up with QEMU and all in
addition to the store’s closure.

This stems from the fact that ‘make-iso9660-image’ does:

--8<---------------cut here---------------start------------->8---
    (apply invoke
           `(,grub-mkrescue "-o" ,target
                            ,(string-append "boot/grub/grub.cfg=" config-file)
                            ,(string-append "gnu/store=" os-drv "/..")
                            "etc=/tmp/root/etc"
                            "var=/tmp/root/var"
                            "run=/tmp/root/run"
                            ;; /mnt is used as part of the installation
                            ;; process, as the mount point for the target
                            ;; file system, so create it.
                            "mnt=/tmp/root/mnt"
                            "--"
                            "-volid" ,(string-upcase volume-id)
                            ,@(if volume-uuid
                                  `("-volume_date" "uuid"
                                    ,(string-filter (lambda (value)
                                                      (not (char=? #\- value)))
                                                    (iso9660-uuid->string
                                                     volume-uuid)))
                                  `())))
--8<---------------cut here---------------end--------------->8---

The “gnu/store=…” argument means we’re adding the whole store to the ISO.

Ludo’.



--- End Message ---
--- Begin Message --- Subject: Re: bug#31757: 'guix system disk-image --format=iso9660' includes more than the OS closure Date: Tue, 26 Jun 2018 14:30:59 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
address@hidden (Ludovic Courtès) skribis:

> Turns out ‘guix system disk-image --format=iso9660’ includes not sure
> the closure of the given OS, but everything that’s in the build
> environment’s store.  So typically, we end up with QEMU and all in
> addition to the store’s closure.

Fixed in 718d44cc9ff1a7e97b4e4ce028cc273c2e20cf93.

Ludo’.


--- End Message ---

reply via email to

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