synit: run preLvmCommands
This commit is contained in:
parent
5ce3ca2121
commit
09b06b4844
|
@ -250,6 +250,9 @@ mdevd_pid=$!
|
|||
mdevd-coldplug -O4 -v 3
|
||||
|
||||
|
||||
@preLVMCommands@
|
||||
|
||||
|
||||
if test -n "$debug1devices"; then fail; fi
|
||||
|
||||
|
||||
|
|
|
@ -299,7 +299,7 @@ let
|
|||
inherit (config.system.build) earlyMountScript;
|
||||
|
||||
inherit (config.boot.initrd) checkJournalingFS verbose
|
||||
preDeviceCommands postDeviceCommands postMountCommands preFailCommands kernelModules;
|
||||
preDeviceCommands postDeviceCommands postMountCommands preFailCommands kernelModules preLVMCommands;
|
||||
|
||||
resumeDevices = map (sd: if sd ? device then sd.device else "/dev/disk/by-label/${sd.label}")
|
||||
(filter (sd: hasPrefix "/dev/" sd.device && !sd.randomEncryption.enable
|
||||
|
|
Loading…
Reference in New Issue