guix-patches
[Top][All Lists]
Advanced

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

[bug#27521] [PATCH v5] build: Add iso9660 system image generator.


From: Ludovic Courtès
Subject: [bug#27521] [PATCH v5] build: Add iso9660 system image generator.
Date: Mon, 03 Jul 2017 09:38:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Danny Milosavljevic <address@hidden> skribis:

> On Sun, 02 Jul 2017 22:09:28 +0200
> address@hidden (Ludovic Courtès) wrote:
>
>> Heya,
>> 
>> Danny Milosavljevic <address@hidden> 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 :)

OK.  :-)  Let’s keep that for a future patch series then.

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

Good.

>>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.

Yes, sounds good to me.  Make sure to update guix.texi though.

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

Yeah dunno, we’ll have to think about it; “vm” no longer looks
accurate.  :-)

Thank you!

Ludo’.





reply via email to

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