From patchwork Thu Dec 26 17:21:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 35641 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 6F79727BBEB; Thu, 26 Dec 2024 17:22:28 +0000 (GMT) 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 F27DA27BBE2 for ; Thu, 26 Dec 2024 17:22:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQrYi-0002Hp-Nm; Thu, 26 Dec 2024 12:22:04 -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 1tQrYh-0002HU-Dv for guix-patches@gnu.org; Thu, 26 Dec 2024 12:22: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 1tQrYg-0002te-Te for guix-patches@gnu.org; Thu, 26 Dec 2024 12:22: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:References:In-Reply-To:Date:From:To:Subject; bh=cisu7ns1f7jpnrR7jTzZ01510rl8tFezZ0SwIPIt92I=; b=O4/wrNd+wgsAMvHMgduhKrBpN8xDPoVFHldLfyy7FJd747cfpqZcdkl4YTNjFj/Xd2xZ6XCuYFVHDnl7JfYUjyyqwbYmjilxjL5WzFLG6in2B7p3LmPpbq8G8BZSwje0KjohRmslG4Pmta3spvdBfe1FL9QQzceRUH++fdcTJcuSyyhHJ0Y0R2znJ4A8+1n7TecSWp+wtsjVCEO7d1qN+OYeIqTs8dBuID+qTOZsu4Lu6wHfcfncmVUFARQokHq4xcPW0ID4eSnnmxq8KN01+d3Eo8jWZO1iili2PB3Jfd6WiRubiYNUWqsefY/c4tOSc0Bb1qEqqPpQdoE3QtXr1A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQrYg-0000OX-EM for guix-patches@gnu.org; Thu, 26 Dec 2024 12:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75027] [PATCH v2 2/3] system: Export =?utf-8?b?4oCY4oCmLWlu?= =?utf-8?b?aXRyZC1maWxl4oCZ?= and =?utf-8?b?4oCY4oCmLXJvb3QtZmlsZS1zeXN0ZW0=?= =?utf-8?b?4oCZLg==?= Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Dec 2024 17:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75027@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 75027-submit@debbugs.gnu.org id=B75027.17352337151485 (code B ref 75027); Thu, 26 Dec 2024 17:22:02 +0000 Received: (at 75027) by debbugs.gnu.org; 26 Dec 2024 17:21:55 +0000 Received: from localhost ([127.0.0.1]:42049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQrYY-0000Nn-B4 for submit@debbugs.gnu.org; Thu, 26 Dec 2024 12:21:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQrYV-0000NN-MD for 75027@debbugs.gnu.org; Thu, 26 Dec 2024 12:21:52 -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 1tQrYQ-0002sZ-G0; Thu, 26 Dec 2024 12:21:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=cisu7ns1f7jpnrR7jTzZ01510rl8tFezZ0SwIPIt92I=; b=Y6aece7KB6y1FWajFllW FF0q4JaLzgwZYedYN0FDfs+wAShNfy9UKG6NArB6LTLBWsXUO2yg6JuktyAgu9J/wEpGLyrx3WLzz GMJPogPxYhRSmQxU75rACetmZJvoBiDWMrPIrAiANuWzkSq0fug+gFXc4drlj9Dnl7sRm1JNW+yfl FE4kxJ2XoOSRn6t9t+JCuzeKjn/RyK8lNOwPgyMxwbwyLMc7R1nbqCQZShcvwf78UEDVylPIJB4CI jp4obCEMUrxT8Xpd6C1xNZi8vZAPW+AQ9P4ky8CG3SlyXaPVmGvajC4Me8EOTec2CyvcwiIuYwWk/ 2/78S6fsDACwTQ==; From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Thu, 26 Dec 2024 18:21:26 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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 * gnu/system.scm (operating-system-initrd-file): Fix docstring and export. (operating-system-root-file-system): Export. Change-Id: I5254d82ce547e8014027ed20675b8bfe5a5847c5 --- gnu/system.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/system.scm b/gnu/system.scm index dfcb8fb279..252a26cac3 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -110,6 +110,7 @@ (define-module (gnu system) operating-system-default-label operating-system-initrd-modules operating-system-initrd + operating-system-initrd-file operating-system-users operating-system-groups operating-system-issue @@ -119,6 +120,7 @@ (define-module (gnu system) operating-system-locale-libcs operating-system-mapped-devices operating-system-file-systems + operating-system-root-file-system operating-system-store-file-system operating-system-user-mapped-devices operating-system-boot-mapped-devices @@ -1355,7 +1357,7 @@ (define (operating-system-root-file-system os) (location (operating-system-location os))))))) (define (operating-system-initrd-file os) - "Return a gexp denoting the initrd file of OS." + "Return a file-like object for the initrd file of OS." (define boot-file-systems (filter file-system-needed-for-boot? (operating-system-file-systems os)))