]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
stratis module: fix start order
authorAlexander Miroshnichenko <alex@millerson.name>
Mon, 24 Feb 2020 15:14:26 +0000 (18:14 +0300)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 28 Feb 2020 19:43:01 +0000 (20:43 +0100)
Change start script order to pre-mount as stratis require fully initialized udev.

modules.d/90stratis/module-setup.sh

index 943f572ef7683e11bb07e1c6e69ddbb98cf387be..e13000b47849cd7c78a65fafc539ce12705ebdac 100755 (executable)
@@ -26,7 +26,7 @@ install() {
         inst_simple "${moddir}/stratisd-init.service" "${systemdsystemunitdir}/stratisd-init.service"
         systemctl -q --root "$initdir" enable stratisd-init.service
     else
-        inst_hook cmdline 25 "$moddir/stratisd-start.sh"
+        inst_hook pre-mount 25 "$moddir/stratisd-start.sh"
         inst_hook cleanup 25 "$moddir/stratisd-stop.sh"
     fi
 }