]> TLD Linux GIT Repositories - packages/dracut.git/blob - bash.patch
- updated to 106
[packages/dracut.git] / bash.patch
1 diff -ur dracut-ng-105.orig/modules.d/00bash/module-setup.sh dracut-ng-105/modules.d/00bash/module-setup.sh
2 --- dracut-ng-105.orig/modules.d/00bash/module-setup.sh 2024-12-05 16:29:03.063356955 +0100
3 +++ dracut-ng-105/modules.d/00bash/module-setup.sh      2024-12-05 16:30:47.969014510 +0100
4 @@ -6,9 +6,7 @@
5  check() {
6      # If the binary(s) requirements are not fulfilled the module can't be installed.
7      require_binaries bash || return 1
8 -
9 -    # Return 255 to only include the module, if another module requires it.
10 -    return 255
11 +    return 0
12  }
13  
14  # Install the required file(s) and directories for the module in the initramfs.
15 @@ -16,5 +14,5 @@
16      inst /bin/bash
17  
18      # Prefer bash as default shell if no other shell is preferred.
19 -    [[ -L $initdir/bin/sh ]] || ln -sf bash "${initdir}/bin/sh"
20 +    ln -sf bash "${initdir}/bin/sh"
21  }