From patchwork Fri Oct 25 09:39:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 2932 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B324527BBE2; Fri, 25 Oct 2024 10:42:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 59A5627BBE9 for ; Fri, 25 Oct 2024 10:42:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4Gp4-0002PO-5M; Fri, 25 Oct 2024 05:41:34 -0400 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 1t4Gp1-0002OT-6Y for guix-patches@gnu.org; Fri, 25 Oct 2024 05:41:31 -0400 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 1t4Gp0-0003sh-UJ for guix-patches@gnu.org; Fri, 25 Oct 2024 05:41:30 -0400 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:From:To:In-Reply-To:References:Subject; bh=M64XvNZ8tGNU0qJTdyFJ3E1XQI5tAAk6yctQokyb4DI=; b=YrxoVIkfvt14Oxngx3DSeWEQychtMPHKBb9ZfDfLYsgpmK2W7Pr4Z3zr6+fqoNbApYqJK6vtPqdWFxOj6Rvpbf0QiUNkUjLehj39HunzY6SlEAxX0ct0Y132AgK+Wg5xOoitZMSsu+8l6AUvMZ5tDe2k+lmNTqnsPQZzOXxsGbaFS+/8ZY5ThAVtlruUsn2OIHDfSxKyOZQNbOGta2UpWJ6j+wLYzcLU7IB/J+s/8Phn2zIPHZh4ggT1IZHs2u8/jVXsFpBqgHLQFmyn5whSIcpPAukaQdXyXTemS2aGsuPAoOiFyCd88gvqp+XmbJnfhlAbJ7+ujJvIcYjVfe4jag==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4GpV-00025W-L2 for guix-patches@gnu.org; Fri, 25 Oct 2024 05:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73927] [PATCH v3 00/17] Installer support for (cross) installing the Hurd. References: In-Reply-To: Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Oct 2024 09:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73927 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73927@debbugs.gnu.org Received: via spool by 73927-submit@debbugs.gnu.org id=B73927.17298492637714 (code B ref 73927); Fri, 25 Oct 2024 09:42:01 +0000 Received: (at 73927) by debbugs.gnu.org; 25 Oct 2024 09:41:03 +0000 Received: from localhost ([127.0.0.1]:37281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4GoY-00020A-84 for submit@debbugs.gnu.org; Fri, 25 Oct 2024 05:41:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4GoU-0001za-0k for 73927@debbugs.gnu.org; Fri, 25 Oct 2024 05:40:59 -0400 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 1t4Gns-0003kV-9v; Fri, 25 Oct 2024 05:40:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=M64XvNZ8tGNU0qJTdyFJ3E1XQI5tAAk6yctQokyb4DI=; b=pt20apLZZprKGp s0dheC2LZdhGrtEwIvBJ6RBphI7HV/ZBJMJ/o1WPHmCxTpvODgvBVBjyKMJyicRvbc39PEy8tpfdu Egz5TuhJU1+NY/cZR/jlSUjCaCDPnmxNvbnxWXUCFxtRSjhme5/U7u0s1nVefgNeqQ4a8Ur5bGvL/ clfQ3ngzZZXa5k7QvvUtgRnZjlcSOAfZU2F2B4hi/5nK2p8jTGwyKN9pZ4gLNp1aQgzr8bzrqcoM+ lfzLFUT/pyQX/YTdD00qOv/trW6bXfwStttBzW7kInnWjeOQeTquwRpH0qTv3yEZIxpGqs9SGGAi5 1hHtyFyXkx1SEUv+sCHQ==; From: Janneke Nieuwenhuizen Date: Fri, 25 Oct 2024 11:39:52 +0200 Message-ID: <20241025094011.8540-1-janneke@gnu.org> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches New in this series: * guix install now creates essential devices for the Hurd * by default, no EFI partition is created * the grub configuration for the HURD now caters for non-HURD-VM (chilhurds) * make check-system TESTS="gui-installed-os now also works for non-x86 which makes that besides creating a sensible config.scm, the installed Hurd now has a good chance to actually boot :) Also updated hurd-team. Greetings, Janneke Janneke Nieuwenhuizen (17): gnu: guile-fibers: Fix cross-build for the Hurd. guix system: When installing the Hurd, create essential devices. bootloader: grub: Remove hardcoded partition number for the Hurd. system: hurd: Remove qemu networking from %base-services/hurd. system: hurd: Add swap-services to hurd-default-essential-services. gnu: hurd: Support second boot. hurd-boot: Support second boot. maint: Add installer dependencies to the manifest. installer: Remove unused (newt) imports. installer: Align comments. installer: Use "partitioning-page" consistently. installer: Fix file-name typos. installer: Use `%' for parameter %run-command-in-installer. installer: Add dry-run? installer: Add "Kernel" page to select the Hurd. installer: Add static-networking template. installer: Support dry-run from Guile via store. gnu/bootloader/grub.scm | 42 ++++- gnu/build/hurd-boot.scm | 21 ++- gnu/installer.scm | 206 ++++++++++++++++++------ gnu/installer/final.scm | 10 +- gnu/installer/kernel.scm | 41 +++++ gnu/installer/newt.scm | 24 ++- gnu/installer/newt/ethernet.scm | 1 - gnu/installer/newt/final.scm | 20 ++- gnu/installer/newt/kernel.scm | 45 ++++++ gnu/installer/newt/keymap.scm | 6 +- gnu/installer/newt/locale.scm | 7 +- gnu/installer/newt/page.scm | 7 +- gnu/installer/newt/parameters.scm | 1 - gnu/installer/newt/partition.scm | 10 +- gnu/installer/newt/services.scm | 32 ++-- gnu/installer/parted.scm | 117 +++++++++----- gnu/installer/record.scm | 8 +- gnu/installer/services.scm | 68 ++++++-- gnu/installer/steps.scm | 30 ++-- gnu/installer/tests.scm | 11 ++ gnu/installer/utils.scm | 17 +- gnu/local.mk | 3 + gnu/packages/guile-xyz.scm | 11 +- gnu/packages/hurd.scm | 6 +- gnu/packages/patches/hurd-startup.patch | 82 ++++++++++ gnu/services/base.scm | 20 ++- gnu/services/virtualization.scm | 4 +- gnu/system.scm | 13 +- gnu/system/examples/bare-hurd.tmpl | 10 +- gnu/system/hurd.scm | 26 +-- gnu/system/images/hurd.scm | 2 +- gnu/tests/install.scm | 6 +- guix/scripts/system.scm | 6 +- manifest.scm | 7 +- 34 files changed, 724 insertions(+), 196 deletions(-) create mode 100644 gnu/installer/kernel.scm create mode 100644 gnu/installer/newt/kernel.scm create mode 100644 gnu/packages/patches/hurd-startup.patch base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b