unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 27521@debbugs.gnu.org
Subject: [bug#27521] [PATCH v5] build: Add iso9660 system image generator.
Date: Mon, 3 Jul 2017 00:01:44 +0200	[thread overview]
Message-ID: <20170703000144.0da80a05@scratchpost.org> (raw)
In-Reply-To: <87y3s64n47.fsf@gnu.org>

On Sun, 02 Jul 2017 22:09:28 +0200
ludo@gnu.org (Ludovic Courtès) wrote:

> Heya,
> 
> Danny Milosavljevic <dannym@scratchpost.org> skribis:
> 
> >> Let’s add #:key (volume-id "GuixSD") and then:
> >> 
> >>   "--" "-volid" (string-upcase volume-id)  
> >
> > It will fail when booting from CD because GuixSD can't find the root fs.  
> 
> I don’t understand.  What I suggest here is equivalent to what was in
> the patch (“-volid GUIXSD”), except that it avoids hard-coding the
> value; it’s purely cosmetic.

Yeah, sorry.  Ok :)

>You mean we could always use ‘grub-mkrescue’ instead of using it in one case and using ‘grub-install’ & co. in the other case, right?

Yeah that.  The only problem is it doesn't work yet for real in the USB stick case.  I tried it now :)

grub-mkrescue documents the fact that it should work from USB quite clearly - so it probably does (probably after I found all the uuid / label conversion problem locations).

Note that ISO9660 is read-only so the ISO9660 image is not a good replacement for an actual installed system.

>  guix system image -f FORMAT

Sounds good.  I think with three formats my threshold for having an option "-f" is reached :)

>Perhaps it’s simpler to just add “guix system iso-image” in this patch
series and to think about the other option separately.

Okay.  If we want to keep the stuff where it is I can commit it now.  I've tested the ISO9660 image with "qemu -cdrom", works fine.

Or if we want we can also move both system-disk-image and iso9660-image into a new module - something like (gnu system image) ?

Moving only one of them, on the other hand, wouldn't decrease the potential confusion - especially once there is a common "guix system image" :)

  reply	other threads:[~2017-07-02 22:02 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-28 22:03 [bug#27521] [PATCH] build: Add iso9660 system image generator Danny Milosavljevic
2017-06-28 22:22 ` [bug#27521] [PATCH v2] " Danny Milosavljevic
2017-06-28 22:48 ` [bug#27521] [PATCH v3] " Danny Milosavljevic
2017-06-29  2:09 ` [bug#27521] [PATCH v4] " Danny Milosavljevic
2017-06-29 13:47   ` [bug#27521] [PATCH v5] " Danny Milosavljevic
2017-06-30 10:13     ` Danny Milosavljevic
2017-07-02 14:55     ` Ludovic Courtès
2017-07-02 18:37       ` Danny Milosavljevic
2017-07-02 20:09         ` Ludovic Courtès
2017-07-02 22:01           ` Danny Milosavljevic [this message]
2017-07-03  7:38             ` Ludovic Courtès
2017-07-03 10:31               ` Danny Milosavljevic
2017-07-03 11:49                 ` Ludovic Courtès
2017-07-03 10:34               ` [bug#27521] [PATCH] guix system: Add "--file-system-type" option Danny Milosavljevic
2017-07-03 11:56                 ` Ludovic Courtès
2017-07-03 13:14                   ` Danny Milosavljevic
2017-07-03 14:17                     ` Ludovic Courtès
2017-07-03 14:20                       ` Danny Milosavljevic
2017-07-03 15:31                         ` Ludovic Courtès
2017-07-03 14:42                 ` Danny Milosavljevic
2017-07-03 11:10               ` [bug#27521] [PATCH] build: Allow specifying volume-uuid with make-iso9660-image Danny Milosavljevic
2017-07-03 11:58                 ` Ludovic Courtès
2017-06-29  3:17 ` [bug#27521] [PATCH] linux-initrd: Add isofs if necessary Danny Milosavljevic
2017-07-02 14:56   ` Ludovic Courtès
2017-07-02 18:28     ` Danny Milosavljevic
2017-07-03 18:02 ` [bug#27521] [PATCH] guix system: Add file system label and uuid to iso9660-image Danny Milosavljevic
2017-07-07 16:06   ` Danny Milosavljevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170703000144.0da80a05@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=27521@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).