From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45771) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hq4mG-0001GX-6r for guix-patches@gnu.org; Tue, 23 Jul 2019 20:05:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hq4mE-0007o6-Vu for guix-patches@gnu.org; Tue, 23 Jul 2019 20:05:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55233) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hq4mE-0007no-Dj for guix-patches@gnu.org; Tue, 23 Jul 2019 20:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hq4mE-0000fY-7t for guix-patches@gnu.org; Tue, 23 Jul 2019 20:05:02 -0400 Subject: [bug#36555] [PATCH v4 3/3] tests: Add reconfigure system test. Resent-Message-ID: From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) References: <87imsci9sj.fsf@sdf.lonestar.org> <87ef30i9fl.fsf@sdf.lonestar.org> <87y3129qsn.fsf@gnu.org> <87sgr9bziq.fsf@sdf.lonestar.org> <87pnmc7nt1.fsf@gnu.org> <8736j7nwcb.fsf@sdf.lonestar.org> <87muhfjm14.fsf@gnu.org> <87ftn63l7d.fsf@sdf.lonestar.org> <87v9w1zgon.fsf_-_@sdf.lonestar.org> <87y30v3qke.fsf@sdf.lonestar.org> <871rylrjt8.fsf_-_@sdf.lonestar.org> <87wogdq575.fsf_-_@sdf.lonestar.org> <87r26lq531.fsf_-_@sdf.lonestar.org> <87muh9q51e.fsf_-_@sdf.lonestar.org> <87wogc4v6e.fsf@gnu.org> <87zhl69box.fsf@sdf.lonestar.org> <87o91kzana.fsf@gnu.org> Date: Tue, 23 Jul 2019 20:01:19 -0400 In-Reply-To: <87o91kzana.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 23 Jul 2019 23:47:05 +0200") Message-ID: <87blxk9u7k.fsf@sdf.lonestar.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36555@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > I think you didn=E2=80=99t answer this specific question; thoughts? I had a peek at your more recent email, and think you dug up (and commented on) my handling of it, but I'll link [1] just in case. > The number of =E2=80=98build-derivations=E2=80=99 calls is the same wheth= er it=E2=80=99s local > or distant. > > What would make a difference is having a single script instead of > three=E2=80=94i.e., one program that does: > > #~(begin > (activate-system =E2=80=A6) > (upgrade-services =E2=80=A6) > (switch-system =E2=80=A6)) > > I think this program could even be added to the =E2=80=98system=E2=80=99 > derivation=E2=80=94i.e., as a file next to those in /run/current-system. > > That way, switching to a system generation would be a matter of running > it=E2=80=99s =E2=80=98switch=E2=80=99 program. > > Perhaps this should be our horizon. WDYT? I'm a fan of that idea. Having it as a file means we would be able to run activation services on a roll-back. I've added this to my to-do list of patches :) Regards, Jakob [1]: https://lists.gnu.org/archive/html/guix-patches/2019-07/msg00656.html --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl03n88ACgkQ9Qb9Fp2P 2VpA6A//UyXv6XJ+BdjDa64Ooqy6BeHoACGqodxqpVCjnLd3GvXuCHP7bxeD+SOY XNd4JWwpeAIWOvnsDlW940nimAYkTDHdChJyfMDMwd2jSGZFY1u7rQ26YZ7n654T /O54cinT0KXnovpxbUz2HxgKloIuhDCQVapEU+6lEURNz42iGsIwf8DdFV1jAgAQ EVAOUifBNu1L+u6Ws62xLtwFhD6wfy6M6lSF4w1MA1SwguZGf83AuVJjrR8i+Bin LG+xEgLIKeI6vzbfvXmUEBB5AQ2336W1NQ2ADOmypd5mZDIqky2u8nahXSCCwgWy M5FvvxPUGcir6+gd9KT++Gx0Qz4q/9Ht0smnht1Sx1wu2HbFBLhIz5nMT7oT83X0 GQV6ZqXsfmMqVb2sOkArUiRMMTyV/punMgJkmExEdPSR/Y/4z3uANJMn8rqpwLS+ qY4XfM+sPnAEpNY6GHpm5uRJjqPXOqhr6YiSWn1c1OkbU8z7twFbNKz3wYGJGOSS 4U4PKRppcAGKGvl/xN3H5h6lVi3MMxG41XJxSoNn8xGZ3HMVDgwZyboF5i784IYj RBz47XKJj3CB3Di7VEzo/UGFS4kemK/F+f3EmrdrDFW4op/micAXoLM1OIXlRwQU XqD/Ua1y831X1DXZ51CMqPk29IKXOo0y2pztUkGg7JvWAnHr0tY= =cLl6 -----END PGP SIGNATURE----- --=-=-=--