]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(rootfs-block): make the base module dependency explicit
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Fri, 19 Nov 2021 02:41:23 +0000 (21:41 -0500)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Fri, 10 Dec 2021 13:01:02 +0000 (08:01 -0500)
When dracut.sh is called with "--modules rootfs-block",
make sure dracut-lib.sh is installed by making the base module an
explicit dependency.

modules.d/95rootfs-block/module-setup.sh

index 46278a4c20ca9d395221483baa38d8d88ab71f78..4931c6a21bdf3f8f90bb9a8350b7ffd6cd530718 100755 (executable)
@@ -7,7 +7,7 @@ check() {
 
 # called by dracut
 depends() {
-    echo fs-lib
+    echo base fs-lib
 }
 
 cmdline_journal() {