From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRvwn-0005zR-2r for guix-patches@gnu.org; Mon, 03 Jul 2017 03:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRvwj-0000vW-VA for guix-patches@gnu.org; Mon, 03 Jul 2017 03:39:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46709) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRvwj-0000vS-RT for guix-patches@gnu.org; Mon, 03 Jul 2017 03:39:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dRvwj-00084s-Kl for guix-patches@gnu.org; Mon, 03 Jul 2017 03:39:01 -0400 Subject: [bug#27521] [PATCH v5] build: Add iso9660 system image generator. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170629020954.22464-1-dannym@scratchpost.org> <20170629134707.12576-1-dannym@scratchpost.org> <87bmp299cc.fsf@gnu.org> <20170702203706.43b1f0de@scratchpost.org> <87y3s64n47.fsf@gnu.org> <20170703000144.0da80a05@scratchpost.org> Date: Mon, 03 Jul 2017 09:38:19 +0200 In-Reply-To: <20170703000144.0da80a05@scratchpost.org> (Danny Milosavljevic's message of "Mon, 3 Jul 2017 00:01:44 +0200") Message-ID: <878tk6rmvo.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 27521@debbugs.gnu.org Danny Milosavljevic skribis: > On Sun, 02 Jul 2017 22:09:28 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> Heya, >>=20 >> Danny Milosavljevic skribis: >>=20 >> >> Let=E2=80=99s add #:key (volume-id "GuixSD") and then: >> >>=20 >> >> "--" "-volid" (string-upcase volume-id)=20=20 >> > >> > It will fail when booting from CD because GuixSD can't find the root f= s.=20=20 >>=20 >> I don=E2=80=99t understand. What I suggest here is equivalent to what w= as in >> the patch (=E2=80=9C-volid GUIXSD=E2=80=9D), except that it avoids hard-= coding the >> value; it=E2=80=99s purely cosmetic. > > Yeah, sorry. Ok :) > >>You mean we could always use =E2=80=98grub-mkrescue=E2=80=99 instead of u= sing it in one case and using =E2=80=98grub-install=E2=80=99 & co. in the o= ther case, right? > > Yeah that. The only problem is it doesn't work yet for real in the USB s= tick case. I tried it now :) OK. :-) Let=E2=80=99s 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 optio= n "-f" is reached :) Good. >>Perhaps it=E2=80=99s simpler to just add =E2=80=9Cguix system iso-image= =E2=80=9D 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'v= e 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 i= nto a new module - something like (gnu system image) ? Yeah dunno, we=E2=80=99ll have to think about it; =E2=80=9Cvm=E2=80=9D no l= onger looks accurate. :-) Thank you! Ludo=E2=80=99.