unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hilton Chain <hako@ultrarare.space>
To: guix-devel@gnu.org
Subject: Expose #:pre-mount argument of boot-system to raw-initrd.
Date: Sat, 05 Nov 2022 15:16:34 +0800	[thread overview]
Message-ID: <y761qqh7twt.wl-hako@ultrarare.space> (raw)

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


                 reply	other threads:[~2022-11-05 10:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y761qqh7twt.wl-hako@ultrarare.space \
    --to=hako@ultrarare.space \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).