From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 qGIqNFY3aGdwKgEA62LTzQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 15:59:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qGIqNFY3aGdwKgEA62LTzQ (envelope-from ) for ; Sun, 22 Dec 2024 16:59:18 +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=bnxmWBQa; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=bQbFVqqa; 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=1734883158; 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=cisu7ns1f7jpnrR7jTzZ01510rl8tFezZ0SwIPIt92I=; b=hbQKlxI0FjUa0wnW14PdN5Jjld23Pgl39p3l3URiVou6yPxBQsbN3eq5dCoF8JTlo/eDnU 1zhbhLf93DPMIVJa3tsmdn4dGd/9VCalWola43BInbMtY8Fgezlht/q24zQhNU7JgVNEEY /sue5Pphd2EH7WBQ/rPMiRSnAKkzSDqSmUvGDw72lKCSxfKkERPSQPqPXxigZDB2seBV+W vRczckwVaYuudz1fSTd4K1jobqx3TjRpzLuj6EjWNE6K4+YHa6xTBUaijq22NHW6gKQk3v ZEB3VDJD51QyIO9bX/Dn6FBzEJ6bRpcfEZEDuDcYasntdF3D+ixpbwYMrcLYVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=bnxmWBQa; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=bQbFVqqa; 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=1734883158; a=rsa-sha256; cv=none; b=jPuEq+URBos2GNw/WQqV+6xU/m/lioaepuveuzunkGJEAtOFlEe9hBjRwKTaKrisakHIlh GrhSYUbGE9ARi91yza9ryevcyimOizGVNpvA7AG/yNnw/cAKLlofAcAVXBgNR2u4xfbPrI u394eCn6zZrUm8u+NerZkK9enUPGTciuncMwXy0CT6JE2sJYrB5HFu4Fbja7ziL0chQQ8S 3Vd0QAEVTGFStAoXPXbVRTQDWmah1MatiUPjIkryp26LmJQwhjIXNRbgmHT4B3R6jPbAlb 4b0O9IHTZ+7yO05hb0VTnD3pKi/YAiCenWjRr9yny4jANP1GmX2/sgoMUx3Wug== 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 947C8801D4 for ; Sun, 22 Dec 2024 16:59:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPOMB-00050X-SH; Sun, 22 Dec 2024 10:59:03 -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 1tPOMA-00050M-Ek for guix-patches@gnu.org; Sun, 22 Dec 2024 10:59:02 -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 1tPOMA-00089C-5t for guix-patches@gnu.org; Sun, 22 Dec 2024 10:59: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=bnxmWBQa6ErZqfXhDxAG76t2JWDbP0sQ0jy5qCXLcxbKpkJuU/yxfGIzQL6nBxF+8p3md5dadWL1wmIDrNH/K6+U/nnV6PA4yk49tF0yGQ4VPv4rWufnO2zBz08gfITxsQdbPyChzSkzrIg025xRUSLkwS6XjWMEnU0zBAYei1sHRaLdb8wB8KAQxoXyhgBx6NDfwePXTxpr+dD1a/pAj/9FpKLMLYa2zt7c6KcZGvL88QwBNJ5CFhh10EYoYQ9kj3gp+hW7ky/uHI+PsUaijDO0GqXwuMjQLliI8xNagoeW8GXO8cjbIab8U8JUcKaB0ASg9dIwk6nqz8w3Gn6Guw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPOMA-0003Ov-0R for guix-patches@gnu.org; Sun, 22 Dec 2024 10:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75027] [PATCH 2/3] system: Export =?UTF-8?Q?=E2=80=98=E2=80=A6-initrd-file=E2=80=99?= and =?UTF-8?Q?=E2=80=98=E2=80=A6-root-file-system=E2=80=99.?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Dec 2024 15:59:01 +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.173488311713033 (code B ref 75027); Sun, 22 Dec 2024 15:59:01 +0000 Received: (at 75027) by debbugs.gnu.org; 22 Dec 2024 15:58:37 +0000 Received: from localhost ([127.0.0.1]:51549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPOLl-0003O8-2p for submit@debbugs.gnu.org; Sun, 22 Dec 2024 10:58:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPOLh-0003No-Mc for 75027@debbugs.gnu.org; Sun, 22 Dec 2024 10:58:34 -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 1tPOLc-00083y-GX; Sun, 22 Dec 2024 10:58:28 -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=bQbFVqqaynwrjhCvcMMm t1jvC03a/qV8MkIOSx3DzbIvgoR411/YGvUIrxoJdTM25UZqD4RQ9FOJyn91R9ahoQAzqFcvVcv4c pJQHhjwWlVUqx90QXrroEGDAy0FDaiFPrCjeCAPDJ4KAWkenGK1dSY/apN4/mMCUsS2vPKy6wPTtW 4t3qVkWz+z80mEjBc86UK5+bUCMulJhVItWyQcWZkBcOnzPnrtPBaoNd9bgfquV7tDjj8l27PQ3C6 +N44wuZTPNEkH95g7OL5SD51v+Bf3AJjV3aSW5Y1cBYf2NJBdmkHeD+3bqulrolLUM1Ap6sxi0HMO TEEXHtx29RxmQw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sun, 22 Dec 2024 16:57:42 +0100 Message-ID: <61da12886b789ae6600b5a52d3b8af7b953a5c39.1734882676.git.ludo@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -7.62 X-Spam-Score: -7.62 X-Migadu-Queue-Id: 947C8801D4 X-TUID: 3io/5BH85ZFH * 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))) -- 2.46.0