]> git.pld-linux.org Git - packages/dracut.git/blame - cryptsetup.patch
...and the actual patch
[packages/dracut.git] / cryptsetup.patch
CommitLineData
7839dcce
JR
1--- dracut-046/modules.d/90crypt/module-setup.sh~ 2017-08-11 13:44:06.000000000 +0200
2+++ dracut-046/modules.d/90crypt/module-setup.sh 2017-09-06 02:04:41.264111459 +0200
3@@ -4,7 +4,7 @@
4 check() {
5 local _rootdev
6 # if cryptsetup is not installed, then we cannot support encrypted devices.
7- require_any_binary $systemdutildir/systemd-cryptsetup cryptsetup || return 1
8+ require_binaries $systemdutildir/systemd-cryptsetup cryptsetup || return 1
9
10 [[ $hostonly ]] || [[ $mount_needs ]] && {
11 for fs in "${host_fs_types[@]}"; do
12@@ -58,8 +58,8 @@
13 fi
14
15 inst_hook cmdline 30 "$moddir/parse-crypt.sh"
16+ inst_multiple cryptsetup rmdir readlink umount
17 if ! dracut_module_included "systemd"; then
18- inst_multiple cryptsetup rmdir readlink umount
19 inst_script "$moddir"/cryptroot-ask.sh /sbin/cryptroot-ask
20 inst_script "$moddir"/probe-keydev.sh /sbin/probe-keydev
21 inst_hook cmdline 10 "$moddir/parse-keydev.sh"
This page took 0.064537 seconds and 4 git commands to generate.