From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0H3gCLm+Tmdx3wAAqHPOHw:P1 (envelope-from ) for ; Tue, 03 Dec 2024 08:18:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0H3gCLm+Tmdx3wAAqHPOHw (envelope-from ) for ; Tue, 03 Dec 2024 09:18:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XrKcuqRz; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jPVDe1iN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733213849; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5brQjC7eA8GjczZRQB6HgBjs2VYCG8u6E6jAUe6ILug=; b=BPZ4+FVRFj2OZRCLRkpJqt7aqVHTTeWdvOPe0a0T9L7bIH0ZJ+kkaKFUpWKsIgjjwJZrXn nx7bjGRyEhr5VOBjwf2IFpOb7PoJtCeN0AwMGPAcXUr7uutFzA0JFbfhgNH1yfw4hink9m 67Q7DAm6ZBG/Zzac9Pv+lgumRAB5wQW83iEuNjZacIdb8hbQjXr2eBkNXtv4L6t1lrMnty z0+vm4JjzCVJW82P+ujrbUYxnEkutdmh6nztcmZnMmw+bvFTmK67f3J/BgG6WgxuH9tM9n Ifo+Da2Xl4M2nrO5cPsxt+OTT7IJ9J8Bk6Rn1OMt+tbaxykQmTUS185ehMlSAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XrKcuqRz; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jPVDe1iN; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733213849; a=rsa-sha256; cv=none; b=fIdgoyg0zWhShC3LvIAC4HrpJiz2EaUt2fB2UWUvj7dXyL+c4o+fqak0sf6xORlHnR2MUq UXPJwwswOXyCaTP16TRRQhkI2WMSyriY/Lhb2lMN9EySrr+XeBLUBL+iRp22WXk8Q6TTnD 6MiYk8+lSFS/95ZdKx7UkSIDNS/sKoKvFTG5+LU5cuBSX+5q1wxTyRH/W0WEH6K6Og+Bo3 dggsX8KT+BL2/oFpNFjsu5kooCU8lGtyVZuYKm6tUWQj0ueHRJPUJQRuJNmrQYjA28cDB9 h6WHyhvP5X8hKy88tcNpVEPN+wZ/KozcsjGG+yc1U/sFq4M2199NP3JWa6T5/w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C52C1455B8 for ; Tue, 03 Dec 2024 09:17:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIO5h-00060D-J6; Tue, 03 Dec 2024 03:17:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIO5e-0005zt-DQ for guix-patches@gnu.org; Tue, 03 Dec 2024 03:17:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIO5e-0001af-3Z for guix-patches@gnu.org; Tue, 03 Dec 2024 03:17:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=5brQjC7eA8GjczZRQB6HgBjs2VYCG8u6E6jAUe6ILug=; b=XrKcuqRzXAWpiOz8wKgH6xpLUwdNaz7aFC46bmAaQZgb/3F0vjA7E80ZzgIsKP39ZAaC3O6PtY4Ee804KbFKtjmDAknKYHaouYAV9YzGmQd9Jy+Ulh8MoV+ez5OHBHC0Lcbba0cK6VdaBBJLf6ARFl4MhNx86bcIZoty/95KwubQtp7rnocDHYlbrAkcUr6p+3R/dQyigiZ2im2gQ85DQy9cm3rIbbbFzdW12+7H5bXpHmtyZUA2ExYdGUA72vqeviZ2j/RFoxLo7fDfMhGwEylFNW2qEaSptCJEG1AlzS0J9rOT20RBalZJUJOfmohl3F0AE1yWLHre8VcpfGRaIg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIO5d-00081j-MY for guix-patches@gnu.org; Tue, 03 Dec 2024 03:17:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74531] [PATCH] system: Add "installer" sub-command. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Dec 2024 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74531 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: Josselin Poiret , 74531@debbugs.gnu.org, Maxim Cournoyer , Simon Tournier , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , Christopher Baines Received: via spool by 74531-submit@debbugs.gnu.org id=B74531.173321376730739 (code B ref 74531); Tue, 03 Dec 2024 08:17:01 +0000 Received: (at 74531) by debbugs.gnu.org; 3 Dec 2024 08:16:07 +0000 Received: from localhost ([127.0.0.1]:58183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIO4l-0007zi-1a for submit@debbugs.gnu.org; Tue, 03 Dec 2024 03:16:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIO4i-0007z7-CN for 74531@debbugs.gnu.org; Tue, 03 Dec 2024 03:16:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIO4a-0001Ud-Bp; Tue, 03 Dec 2024 03:15:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=5brQjC7eA8GjczZRQB6HgBjs2VYCG8u6E6jAUe6ILug=; b=jPVDe1iNt4h1o8fWRNmw F5cH8eJx5Vz16u4E+yUWRl4oY3W+YbooZAm5USkOALq/si8TMDYSL+i7QtwkOe4Bf0RkSzS/QVhb4 Md7Z4w8arjE8dqQLOv7ux/Yl7cOWhTgjboOa81zs06BHPp7v/rqthUlJd4nsyfd6OqVreozSjqtA1 PyiAhdErRoA2AUI4pdKjnvGFoNzDP/GnklfmXGBh5dKHUOpJE7MSGi4trEDsWngkrLlAr5CRLggMp riRQI+GaUYYGx6FMD4H7XHva1JuO8ni8j/MFHOqKK18H/txtsQNGs9f3i58tt0ws/NoIlpK3Q6yKw M8NLruZQEj3eRg==; From: Janneke Nieuwenhuizen In-Reply-To: <87wmghp5bh.fsf@gnu.org> (Mathieu Othacehe's message of "Tue, 03 Dec 2024 08:57:06 +0100") Organization: AvatarAcademy.nl References: <87mshngw7a.fsf@gnu.org> <87wmghp5bh.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Tue, 03 Dec 2024 09:15:52 +0100 Message-ID: <874j3lji6f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.85 X-Spam-Score: -1.85 X-Migadu-Queue-Id: C52C1455B8 X-TUID: rJQy32qC7K2N Mathieu Othacehe writes: > Hello Janneke, > >> Subject: [PATCH] system: Add "installer" sub-command. >> >> * guix/scripts/system/installer.scm: New file. >> * Makefile.am (MODULES)[ENABLE_INSTALLER]: Register it. >> (MODULES_NOT_COMPILED)[!ENABLE_INSTALLER]: Likewise. >> * guix/scripts/system.scm (show-help): Add help for "installer" sub-comm= and. >> (actions): Register "installer". >> (guix-system): Invoke `guix-system-installer' sub-command. >> * doc/guix.texi (Invoking guix system): Document it. >> * gnu/installer.scm (run-installer): Remove "./pre-inst env". > > That looks great thanks! Your idea :) > It makes me think that we could go further than that an come-up with a > command that would look like: > > guix system image --installer os-1.scm os-2.scm > > That would generate a bootable image, that would contain the closure of > all the provided system configurations (os-1.scm, os-2.scm, ...). Oh, that would be nice too, would you like to look into that? > That image would run the installer and would directly propose the > installation of the os-1 or the os-2 to the user. Most of the > installations pages could then be skipped, except the host-name and > partitioning pages. > > That way, one could generate an image with say, a Hurd based system > configuration and a Linux based system configuration and then, pick in > the installer the system to be installed. As the image contains the > closure of both systems, there would be no network issues. Yes, indeed! Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com