Skip to content

Commit

Permalink
luks: make sure cryptsetup.target is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
LaszloGombos authored and sergio-correia committed Nov 7, 2024
1 parent 55eb002 commit 4fc8130
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/luks/dracut/clevis/module-setup.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
depends() {
local __depends=crypt
if dracut_module_included "systemd"; then
__depends=$(printf '%s systemd' "${__depends}")
__depends=$(printf '%s systemd-cryptsetup' "${__depends}")
fi
echo "${__depends}"
return 255
Expand All @@ -32,6 +32,7 @@ install() {
inst_multiple \
$systemdsystemunitdir/clevis-luks-askpass.service \
$systemdsystemunitdir/clevis-luks-askpass.path \
$systemdsystemunitdir/cryptsetup.target \
@SYSTEMD_REPLY_PASS@ \
@libexecdir@/clevis-luks-askpass

Expand Down

0 comments on commit 4fc8130

Please sign in to comment.