From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6AtdE0qmZmPW8AAAbAwnHQ (envelope-from ) for ; Sat, 05 Nov 2022 19:07:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ALtUE0qmZmO/BQAAauVa8A (envelope-from ) for ; Sat, 05 Nov 2022 19:07:06 +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 2CC372DBEC for ; Sat, 5 Nov 2022 19:07:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orNZA-0006T3-He; Sat, 05 Nov 2022 14:06:48 -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 1orNZ7-0006SM-Du for guix-devel@gnu.org; Sat, 05 Nov 2022 14:06:45 -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 1orNZ5-0006Eh-UZ; Sat, 05 Nov 2022 14:06:44 -0400 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=I5DEBE6Y7uNN5yhxD/TVUsvfSucFDT8sX2uEdFJQXmA=; b=IV8ISECrEG5hnw8+iXGa TTrSfGronlM8OPv0lq6ERsu5kjVM4/S8WNcx/tgWlih/NP7s2StJeYD/RNEITxWG/oujT0ieFT2Ke NcEbfk0tiDUxUOpv4cJnpqogogklIV8Ol0uRGsT0DAshISkgrztB7C2QdsHTCTGPZa4c0JBmL5SoB kZozwi2CzOO6I4vQv0lLEjkewpr5L+N8ZyssKJt8IrRmYyN9/3XPkSBNinVKCI3S8jzT3sRDwCttp adqbf20pCNhwxd1rSqy2uX/imLULX4LRa4ISo4LYNbKHi6WJEhvBMp8sYUphwFcep0//N2dy3cWg/ njqE+XbIvSOqnw==; 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 1orNZ5-0000aC-G6; Sat, 05 Nov 2022 14:06:43 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Hilton Chain Cc: guix-devel@gnu.org Subject: Re: [RESEND] Expose #:pre-mount argument of boot-system to raw-initrd. References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 15 Brumaire an 231 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour du Dindon X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 05 Nov 2022 19:06:40 +0100 In-Reply-To: (Hilton Chain's message of "Sat, 05 Nov 2022 17:51:59 +0800") Message-ID: <87zgd5i8cv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-devel" Errors-To: guix-devel-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=1667671626; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=I5DEBE6Y7uNN5yhxD/TVUsvfSucFDT8sX2uEdFJQXmA=; b=E2qYNRzsiOVq3T4AnwQDG+b3EI/mIsiKdH5m4U1/x/jBgxDlbuNXh97ToGfmYLAGRBq34W mFaw4XlVRfqsdfVR3fLbkDn2z0XUpT6xTmXuLt+ZcGK0Pp0r9rmXmrijlNB4nuRhfXS8Cy SmEmiA2MyE3yUtzZOkGmwGog/ilYVAyqEO65QNrneSBoDN7FmgSfiRTWXrUOyspoFBlAUC C/Iqp0vMx6kXFKU0OyjDyytLTfwek7UGjaS97rQHmU8ah/7TwIUXOLnaBKymyZN0vTPRNd 28LfblEFE6+ihW2+HulYwnK8OZ0EE2XjbC+EduuAmop+mA2sHcLPB3cU95ZTWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667671626; a=rsa-sha256; cv=none; b=J9ER/fY8eC8kKue0lM6vGlyfS8mXc2bLZfJTiEgVnBFBVQ9Vo5FLChh3HMAzGc2akqo/am YzSqh6uDHpcY6UcO/XfSA79zCYNjtF8jfZafEBEERpMwDdcRteCtY8aAqLjt3GaxZVXhCg ja63KFe/AY206zDGDMjcx/ba8n6HU1LOZY5q3TN/w3xC+rRN8hSgaYSedLk+wXmNiqg3yK wdHTCuq7PUxfaYzdsg6jIUrAU5Iv3cjLtyMe40ZE1oBkAzB19kDNG++SUrudenkI/l/Vga Z63nPXbS6fbfpxyTezkIsb2NJfOqa9gE96q61GTAodmvLZQq/cdEhhsHe42HIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=IV8ISECr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=IV8ISECr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2CC372DBEC X-Spam-Score: -7.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: A5i73Sd2fDNg Hi, Hilton Chain skribis: > The patch adds a #:pre-mount argument to raw-initrd, to be used in the la= ter > boot-system invocation. This enables more customization space while avoid= ing > raw-initrd definition duplicates. Great. > My main goal is to unlock LUKS root partition remotely via SSH, as in the > NixOS module linked below: > https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/lu= ksroot.nix Sounds like a useful improvement; let us know how it goes. > linux-initrd: raw-initrd: Add keyword argument #:pre-mount. Looks like you forgot to send the actual patch, but you might want to send it to guix-patches@gnu.org if you think it=E2=80=99s ready for review: https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html Thanks, Ludo=E2=80=99.