[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59066] [PATCH 1/1] linux-initrd: raw-initrd: Add keyword argument #
From: |
Hilton Chain |
Subject: |
[bug#59066] [PATCH 1/1] linux-initrd: raw-initrd: Add keyword argument #:pre-mount. |
Date: |
Sun, 06 Nov 2022 09:45:45 +0800 |
* gnu/system/linux-initrd.scm (raw-initrd): Add keyword argument #:pre-mount.
---
gnu/system/linux-initrd.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 4c4c78e444..1e72aaee1c 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -172,6 +172,7 @@ (define* (raw-initrd file-systems
#:key
(linux linux-libre)
(linux-modules '())
+ (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
#$@file-system-scan-commands))
#:linux-modules '#$linux-modules
#:linux-module-directory '#$kodir
--
2.38.0
- [bug#59066] [PATCH 1/1] linux-initrd: raw-initrd: Add keyword argument #:pre-mount.,
Hilton Chain <=