dracut
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
shimunn 2019-09-18 19:48:30 +02:00
parent 03cc5c70fd
commit a17713692a
Signed by: shimun
GPG Key ID: E81D8382DC2F971B
2 changed files with 3 additions and 5 deletions

View File

@ -7,7 +7,8 @@ fido2_decrypt() {
local keypath="$2"
#Unused local keydev=$3
#Unused local device=$4
export FIDO2LUKS_CREDENTIAL_ID="${keypath%.*}"
. /etc/$keypath
export FIDO2LUKS_CREDENTIAL_ID="${CREDENTIAL_ID:-$FIDO2LUKS_CREDENTIAL_ID}"
export FIDO2LUKS_SALT="$(getargs rd.fido2luks.salt)"
export FIDO2LUKS_PASSWORD_HELPER="/usr/bin/systemd-ask-password 'Disk 2fa password'"
if [ -z "$FIDO2LUKS_SALT" ]; then

View File

@ -7,14 +7,11 @@ check() {
}
depends() {
echo rootfs-block
return 0
echo crypt
}
install() {
patch
#inst_hook pre-trigger 91 "$moddir/ykluks.sh"
#inst_hook initqueue 01 "$moddir/fido2luks.sh"
#inst_hook pre-mount 1 "$moddir/fix_crypttab.sh"