From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iLqYJKG/bmMRNAAAbAwnHQ (envelope-from ) for ; Fri, 11 Nov 2022 22:33:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wAfdI6G/bmNT1wAAG6o9tA (envelope-from ) for ; Fri, 11 Nov 2022 22:33:21 +0100 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 3DB181262F for ; Fri, 11 Nov 2022 22:33:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otbe5-0006X8-SH; Fri, 11 Nov 2022 16:33: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 1otbe2-0006Wx-FA for guix-patches@gnu.org; Fri, 11 Nov 2022 16:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otbe1-0003Zm-R4 for guix-patches@gnu.org; Fri, 11 Nov 2022 16:33:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otbe1-0002ds-MU for guix-patches@gnu.org; Fri, 11 Nov 2022 16:33:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59066] [PATCH 1/1] linux-initrd: raw-initrd: Add keyword argument #:pre-mount. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Nov 2022 21:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain Cc: 59066@debbugs.gnu.org Received: via spool by 59066-submit@debbugs.gnu.org id=B59066.166820234510108 (code B ref 59066); Fri, 11 Nov 2022 21:33:01 +0000 Received: (at 59066) by debbugs.gnu.org; 11 Nov 2022 21:32:25 +0000 Received: from localhost ([127.0.0.1]:46876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otbdQ-0002cy-RS for submit@debbugs.gnu.org; Fri, 11 Nov 2022 16:32:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otbdP-0002cm-9H for 59066@debbugs.gnu.org; Fri, 11 Nov 2022 16:32:23 -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 1otbdJ-0003RB-Tq; Fri, 11 Nov 2022 16:32:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=xnstsx48iLtQJBDKx0ibArPRRiYAYDqMtNl5Jsk3DHo=; b=sSxDuPckeacpPqr/IF0A 0raXOywT5psEQmKrqjUpUMUrWbvvVnSdy8j32q+EbXV9VNJEMDouGE+JOeUkC26Ie04stDDE2Mqyd kqQ/SGXaRuSo4R2t9/jvc9rNb3KYWaoENZyvG6leptQmxdT3jTTljvpq++pHvuYMfYwvRt8IJ6XXK 3rf7E/sodgZdWGy9ckTNZQi+ulXAD+0OeFD3NVXHCtIofKZU+an6jimctHbo8FlePfX8Csap9HReT g33sEw+bbtVTjw0cuitNRdegxFSSl3eman1BwpuzNgjMRvKuIezfEKi1lJG1R9bRJUtFuIS8dIzLS R4g5E6xlt/w2Og==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otbdJ-0000Jq-FY; Fri, 11 Nov 2022 16:32:17 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Fri, 11 Nov 2022 22:32:15 +0100 In-Reply-To: (Hilton Chain's message of "Sun, 06 Nov 2022 09:45:45 +0800") Message-ID: <87wn81dvog.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668202401; 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=xnstsx48iLtQJBDKx0ibArPRRiYAYDqMtNl5Jsk3DHo=; b=J+S1vD5CaJRbFect+iY71u6P1ujPJ7TnvMjx2gK8ox5Gwmi/x8d/naNlnphi0xklM4R6jw fy5Bxyajlcae3+OUNKzPsEU+lO9YNZFak8Xu7phLyvHDPmApYV8HnIveUk1o0+kaEP+1Kj V6QO3Y/yVrxY7z3t4VBynRfFKEOGlPlQhBwOsXc/Fh9xjcF4EO1qFBUeSO0dyc/owkCjUD fXMdLF8BWzEloFcWUOg/zvpkw1rsKoc4naPAqThXvQWer4LiPxUeovvT1deRKYQn9fQ49V 3zPYRplvcsbkHUgOG6Cc8v6uAFRJFfBaa7xuZzksI+XPEl8mtGkYD7agqxtvXw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668202401; a=rsa-sha256; cv=none; b=DSahPHUh+ui5Us+sj09dYSdH2rEDFcD7Zq7Y7qsBc2SXxDyP4l5D3bJ+ZAg1ZEYwnb18US PzMfAuo8GltHpC+Vmv8y33U1tAuARfz/apwPEdpcyGX4EIW5Xzif6tysVRy+G5QQaQ49pG 3EQYiV1cqi4yChQitR5l0+WjeOWKJA0k6jKj+nsdL9sntg7jdlP2ocYbFT5DlWt4yWy8hd qFgcy+vxBnPvL4kw3Fdm8XhCdDw4yYl2iGv754pajHAcjJPb5qqY8gcQq3STdXOb83Xtjo /WGxRVMf1K+Vu8gnwPfHxItnD8393CBPSZV4Oew09hbkTzdn1TOzQ0hp4555/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=sSxDuPck; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -5.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=sSxDuPck; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 3DB181262F X-Spam-Score: -5.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: c0weNMBHQc3d Hi! Hilton Chain skribis: > * gnu/system/linux-initrd.scm (raw-initrd): Add keyword argument #:pre-mo= unt. [...] > + (pre-mount '()) > (mapped-devices '()) > (keyboard-layout #f) > (helper-packages '()) > @@ -255,7 +256,8 @@ (define kodir > (map spec->file-system > '#$(map file-system->spec file-systems)) > #:pre-mount (lambda () > - (and #$@device-mapping-commands > + (and #$@pre-mount > + #$@device-mapping-commands I think #:pre-mount should be a single gexp (instead of a list), defaulting to #t. So we=E2=80=99d do: (lambda () (and #$pre-mount #$@device-mapping-commands =E2=80=A6)) WDYT? Also could you update the docstring and =E2=80=98doc/guix.texi=E2=80=99 acc= ordingly? Thanks, Ludo=E2=80=99.