From: "Ludovic Courtès" <ludo@gnu.org>
To: Hilton Chain <hako@ultrarare.space>
Cc: 59066@debbugs.gnu.org
Subject: [bug#59066] [PATCH 1/1] linux-initrd: raw-initrd: Add keyword argument #:pre-mount.
Date: Fri, 11 Nov 2022 22:32:15 +0100 [thread overview]
Message-ID: <87wn81dvog.fsf@gnu.org> (raw)
In-Reply-To: <y76k048etyu.wl-hako@ultrarare.space> (Hilton Chain's message of "Sun, 06 Nov 2022 09:45:45 +0800")
Hi!
Hilton Chain <hako@ultrarare.space> skribis:
> * gnu/system/linux-initrd.scm (raw-initrd): Add keyword argument #:pre-mount.
[...]
> + (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’d do:
(lambda () (and #$pre-mount #$@device-mapping-commands …))
WDYT?
Also could you update the docstring and ‘doc/guix.texi’ accordingly?
Thanks,
Ludo’.
next prev parent reply other threads:[~2022-11-11 21:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-06 1:45 [bug#59066] [PATCH 1/1] linux-initrd: raw-initrd: Add keyword argument #:pre-mount Hilton Chain via Guix-patches via
2022-11-11 21:32 ` Ludovic Courtès [this message]
2022-11-12 13:59 ` [bug#59066] [PATCH v2] " Hilton Chain via Guix-patches via
2022-11-18 13:25 ` bug#59066: [PATCH 1/1] " Ludovic Courtès
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=87wn81dvog.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=59066@debbugs.gnu.org \
--cc=hako@ultrarare.space \
/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).