crypt/module-setup.sh: use crypttab in hostonly and don't install cmdline
parent
1f4f8fb9e3
commit
4baac4b291
|
|
@ -46,7 +46,6 @@ install() {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
for_each_host_dev_fs check_crypt
|
|
||||||
|
|
||||||
inst_multiple cryptsetup rmdir readlink umount
|
inst_multiple cryptsetup rmdir readlink umount
|
||||||
inst_script "$moddir"/cryptroot-ask.sh /sbin/cryptroot-ask
|
inst_script "$moddir"/cryptroot-ask.sh /sbin/cryptroot-ask
|
||||||
|
|
@ -74,12 +73,13 @@ install() {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done < /etc/crypttab > $initdir/etc/crypttab
|
done < /etc/crypttab > $initdir/etc/crypttab
|
||||||
|
else
|
||||||
|
for_each_host_dev_fs check_crypt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inst_simple "$moddir/crypt-lib.sh" "/lib/dracut-crypt-lib.sh"
|
inst_simple "$moddir/crypt-lib.sh" "/lib/dracut-crypt-lib.sh"
|
||||||
|
|
||||||
inst_multiple -o \
|
inst_multiple -o \
|
||||||
$systemdutildir/system-generators/systemd-cryptsetup-generator \
|
|
||||||
$systemdutildir/system-generators/systemd-cryptsetup-generator \
|
$systemdutildir/system-generators/systemd-cryptsetup-generator \
|
||||||
$systemdutildir/systemd-cryptsetup \
|
$systemdutildir/systemd-cryptsetup \
|
||||||
$systemdsystemunitdir/systemd-ask-password-console.path \
|
$systemdsystemunitdir/systemd-ask-password-console.path \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue