Skip to content

Commit 857b17f

Browse files
aafeijoo-susejohannbg
authored andcommitted
fix(fips): missing sourcing of dracut-lib
Make sure dracut-lib is sourced inside the fips-noboot script.
1 parent e8121bf commit 857b17f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules.d/01fips/fips-noboot.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22

3+
type getarg > /dev/null 2>&1 || . /lib/dracut-lib.sh
4+
35
if ! fipsmode=$(getarg fips) || [ "$fipsmode" = "0" ]; then
46
rm -f -- /etc/modprobe.d/fips.conf > /dev/null 2>&1
57
elif [ -z "$fipsmode" ]; then

0 commit comments

Comments
 (0)