Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/luks/dracut/clevis-pin-tpm1/module-setup.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ check() {
}

depends() {
echo clevis network
echo clevis

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The minimal working configuration taking into account systemd is the following:

Suggested change
echo clevis
local __depends="clevis"
if ! dracut_module_included "systemd"; then
__depends=$(printf '%s network' "${__depends}")
fi
echo "${__depends}"

return 0
}

Expand Down
Loading