From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 gI5EKmY7ZmMfeQEAbAwnHQ (envelope-from ) for ; Sat, 05 Nov 2022 11:31:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UMtQKmY7ZmMPjAAA9RJhRA (envelope-from ) for ; Sat, 05 Nov 2022 11:31:02 +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 8BE9FE391 for ; Sat, 5 Nov 2022 11:31:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orGRN-00019t-Ah; Sat, 05 Nov 2022 06:30:17 -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 1orDQR-0005t5-3B for guix-devel@gnu.org; Sat, 05 Nov 2022 03:17:07 -0400 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orDQJ-0000m0-Bj for guix-devel@gnu.org; Sat, 05 Nov 2022 03:17:06 -0400 Date: Sat, 05 Nov 2022 15:16:34 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1667632614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=3NGaewHnHOhJncHLmDVT9RNiWLGWPtIcY7AOKU7C9iA=; b=fdMPQoPgVYpnZRkd6sba4I0gzbLDcp2dyyaXDWdTg2M5tNZPTYC3HaQs6WiXaIjvRM1Tdn IyOoSwZmvPAfyXNL5ymJxe79nLcZHKhkqJXufCtJOXFdyKG52Fm/+wvC16V0bq/bw9BHUx nlAYT8tp+1ymxQMHlicea8bWHs/mHwqneY4fNzCi7qwE1GVkyvK69cAaryWQFtOrdLwxGp CmD7o2dKvzO3SSKidNVnWlChcz8ABQmnacmtjS79q13bhFLaVFQzQ9Wzn0LF4WPFBMBxK1 sfzO7pnswjmL8kbzemNt/FmL/ZBe9dPepMThxCK7+mb+DBIR8FX7RwdX9Q747g== Message-ID: From: Hilton Chain To: guix-devel@gnu.org Subject: Expose #:pre-mount argument of boot-system to raw-initrd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 05 Nov 2022 06:30:16 -0400 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=1667644262; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3NGaewHnHOhJncHLmDVT9RNiWLGWPtIcY7AOKU7C9iA=; b=uO8spdg8ffITsW6Z2Rw+QQ9Mm0/JAG2jDLODx3umY+OEyaWJ4zEmFnA/hIRuFXXhDQIBQC /bGsITfYEZo5LOvv60hW+eN9xIEcUGJ3pHA3hitbcTuW+UNYFJPbl3P2nHTkJ/A8iU9Qn2 97Ey2IHqH36pmIwVjq8wwwQLKtu31w4fX1T641X8eOTj1OTaIVdyYIVCasCztlSgShJAYc R9/EoJxiKz6W/OGbWA1DnHX5TdbDFQj8NSFsX40fP5dlsmZ70lWGUmpQoIbKI98FjGGfJW jbZT94JgUp9rnFH1dVfYBFl/nMEx9OQl0vMmQug81MRxb6lvp/Qah+CEkD1hjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667644262; a=rsa-sha256; cv=none; b=WNmoBhYcLhj1i3bA1yRtkbW/zdNAbWzrAZ5w+m9qE1jsTKAtxe+IQIaXStBp401aDjhfov 4Y01dw2ydIb+d8vDrXQohszgrZN02j1ZX5EFQAtGe+VVB+JNeLzx+gTpaemTL3GHdCzeUA DavCE6osI2Ltk45FYpYbaGCv7JRrLq2Z4AihsDvSkOVL7oOgu05XOPbVIv/DEVeCn5ChUR HCIMxzvBEUUKZ3zybsOkO2YhE83JK8p6oIvtdkaAUdFVltk75xKcgcC3sNoGzW7B9khG6s 7B7yAkzyeIyJ4zKGa3BVLBM+pFNpn/FgG9kuIJYujKEwAeg5zczbnmj+BRrqhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ultrarare.space header.s=dkim header.b=fdMPQoPg; dmarc=pass (policy=reject) header.from=ultrarare.space; 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: -6.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ultrarare.space header.s=dkim header.b=fdMPQoPg; dmarc=pass (policy=reject) header.from=ultrarare.space; 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: 8BE9FE391 X-Spam-Score: -6.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: aku6oS/MpaMn Hi Guix, This patch adds a #:pre-mount argument to raw-initrd, to be used in the later boot-system invocation. This enables more customization space while avoiding raw-initrd definition duplicates. 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/luksroot.nix I'm stilling experimenting with that, further progress would come as replies. Thanks! Hilton Chain (1): linux-initrd: raw-initrd: Add keyword argument #:pre-mount. gnu/system/linux-initrd.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) base-commit: 64e53112c2191378cf5dd543e291bec4c6f57b53 -- 2.38.0