From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0AKoNNGQbWeEBgAA62LTzQ:P1 (envelope-from ) for ; Thu, 26 Dec 2024 17:22:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0AKoNNGQbWeEBgAA62LTzQ (envelope-from ) for ; Thu, 26 Dec 2024 18:22:25 +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="O4/wrNd+"; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Y6aece7K; 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=1735233745; 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=o9iNqwm0ncXbvjAHaqaJkBD37pf+SpkXdF/VbJX3bXBLYmYQhQwRs5dqYFtipUGnc+GgOU IiVFCz81CStooxaVjMi4RJ4jvflLVkKHMdYAXhFQ/H3nRYFEVbLny+/+/RFPOYWigFud9O J1Jf56jMu7Bt3We65iWAKFdQm7DGKEQVuzeXPOp3VvfmRo8GStu/81T8h0Ng7cVGo6/+O/ Wmvn6RFHI36x0ysKXqq+d1L7rWVTtJ/zgXT4srBjc/bzlxC82MhgnQqy3lzgs1ltz/iugW tm1J8ol5HDqh8gwOs71PvMnPL/1uBwbs+YP73nAZoLumBHzMZTWhJLLOa/p5qA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="O4/wrNd+"; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Y6aece7K; 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=1735233745; a=rsa-sha256; cv=none; b=Rq5XzKzxJvvQLEQANhiISJGpLBLXxFnmH4G3zmdIgs06BOxxZRV7v+RdCMSN1ukWefn2Ey X/TTumJuCE5yM/vWbKGd1la5v2BhzGxf9Osm8jdkLaADdyaklNuofN++i5RhSCjRaU2T0V Ezb+pGufoAhnAxloI1BAiEShperQYvtPG2UYIH4zC4DrjncPLV69KBJ4qyJegqkEnfVKwF pbzK6ePIFQp2aQX9E8iEyiEZEAKGoCVeKPhnezaB83Jm90WuuTRvg3NVEVxcYohCNjPcBt MHUTW8wiiI6GSyx22xbAUSA41XSOpW0WolUWVoUGcSvJajFGR2LaDxt9OUcGdg== 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 69AD063805 for ; Thu, 26 Dec 2024 18:22:25 +0100 (CET) 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?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: 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 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: mx12.migadu.com X-Migadu-Spam-Score: -4.61 X-Spam-Score: -4.61 X-Migadu-Queue-Id: 69AD063805 X-TUID: YIsD7XXcsps/ * 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