all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [RESEND] Expose #:pre-mount argument of boot-system to raw-initrd.
@ 2022-11-05  9:51 Hilton Chain
  2022-11-05 18:06 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Hilton Chain @ 2022-11-05  9:51 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

The 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RESEND] Expose #:pre-mount argument of boot-system to raw-initrd.
  2022-11-05  9:51 [RESEND] Expose #:pre-mount argument of boot-system to raw-initrd Hilton Chain
@ 2022-11-05 18:06 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-11-05 18:06 UTC (permalink / raw)
  To: Hilton Chain; +Cc: guix-devel

Hi,

Hilton Chain <hako@ultrarare.space> skribis:

> The 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.

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/luksroot.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’s ready for review:

  https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html

Thanks,
Ludo’.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-05 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-05  9:51 [RESEND] Expose #:pre-mount argument of boot-system to raw-initrd Hilton Chain
2022-11-05 18:06 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.