]> TLD Linux GIT Repositories - packages/dracut.git/blobdiff - bash.patch
- updated to 056
[packages/dracut.git] / bash.patch
diff --git a/bash.patch b/bash.patch
new file mode 100644 (file)
index 0000000..4c56e4d
--- /dev/null
@@ -0,0 +1,19 @@
+--- dracut-055/modules.d/00bash/module-setup.sh~       2021-05-27 14:34:19.000000000 +0200
++++ dracut-055/modules.d/00bash/module-setup.sh        2021-10-30 23:03:00.931687353 +0200
+@@ -9,7 +9,7 @@
+     require_binaries bash || return 1
+     # Return 255 to only include the module, if another module requires it.
+-    return 255
++    return 0
+ }
+@@ -27,6 +27,6 @@
+     inst /bin/bash
+     # Prefer bash as default shell if no other shell is preferred.
+-    [[ -L $initdir/bin/sh ]] || ln -sf bash "${initdir}/bin/sh"
++    ln -sf bash "${initdir}/bin/sh"
+ }