From mboxrd@z Thu Jan 1 00:00:00 1970 From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Subject: Re: Progress on 'guix deploy' Date: Mon, 10 Jun 2019 13:47:57 -0400 Message-ID: <871s01l4c2.fsf@sdf.lonestar.org> References: <875zpgrjqf.fsf@sdf.lonestar.org> <87h88x7pni.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59554) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haOPm-0006d3-WF for guix-devel@gnu.org; Mon, 10 Jun 2019 13:49:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1haOPl-0007nZ-Qw for guix-devel@gnu.org; Mon, 10 Jun 2019 13:49:02 -0400 In-Reply-To: <87h88x7pni.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 10 Jun 2019 11:31:13 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > OK, sounds good. > > Some time ago, I proposed to have =E2=80=98remove-eval=E2=80=99 where you= could do: > > (remote-eval #~(begin =E2=80=A6) #:session =E2=80=A6) > > which would take care of building and copying everything the gexp > refers to (see > .) > That would generalize a bit what you describe above. But anyway, > that=E2=80=99s something that can always come later. My focus for the next few days is going to be on cleaning up the implementation of the internals, so I'll look into that. Gaining some knowledge of how G-Expressions work would probably serve me well in improving my kludge of a test suite anway ;) But I think you're right that it wouldn't be too difficult to deal with later on. > Marionettes are just a way to instrument the system under test, which > is running in a VM. > > I think what you need is to ensure the target VM (the one you=E2=80=99re > deploying to) has a writable store. To do that, you could create the > target VM with the equivalent of =E2=80=98guix system vm-image=E2=80=99, = which is the > =E2=80=98system-qemu-image=E2=80=99 procedure. (That will require a bit o= f disk space, > because that image needs to be large enough to hold the store of the > machine.) > > How does that sound? Sounds like I've got some code to read :) It seems likely that the SSH issue I was dealing was being caused by the store being read-only. I'll investigate that today and report back. > Consider hanging out on #guix and sending email here=E2=80=94it=E2=80=99s= usually easier to get > feedback on specific topics. > > Anyway, glad to see so much progress already! Thanks for the update! Will do! Regards, Jakob --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAlz+l80ACgkQ9Qb9Fp2P 2VrNGxAAgMLsG6qkkYwK2FtFy4oS310STaeWbTNjk+8EIZtWiCt5iCXQhCdkbVZj Cvi9/5bnNG442DjM840cSbokkGpr54N/ZSGvraLcrAHVkBuwXUg4CZF05TYO7nX9 /Nfje5tG/YviHWNn2fPk9qbgCTFc/C4bcl9jUAWOduBZODAN/WxJfMASKdYBiBDS /cQSazj64m8JyFMgqKdmuyo/FRIkH5FE1vHq4trHpZnGJ2jw+BmppRl4QV4UjpF5 tHgxhIw41Jv4ut8rx+JZorku4vYcVR39b4Fi425/8Gp1S+2EAG3W2wx2W5xsqJVt Rzq5czjA8b1naBnliYxT7SLHePF3+lOqPRZnfOTwhUNU6k8cVbZxlNrgimj/sE53 972lkhdBPkmoBs/CPcBJijIdY1e4m6j/LJODIoeNHJawd8ETsIxGo+0ShxHbpYBu ST7AyzjA+SX7GZ2pSZjf4OHJeGpk1dU1XUhMPkAqoAJ18Stbe6s0HbSU7ZxUzwKG RgWyuwLQbjwVyRKYiJi0+JxI6X6mt0kK20lCFd+xaapbJdbd+7rdOFzy7Nuafr8I /+Jiizru+zdLSbbZa1TfGke8bUg+jlTL5VjSSnyhzf5tUzFu9BJVZZ8eE/JMhvKa juieyBa5lE72a+dUywH3wVUpiVGrXZyUFlqG5qa0XYCqruKljB4= =yng2 -----END PGP SIGNATURE----- --=-=-=--