diff --git a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/module-setup.sh b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/module-setup.sh index 388649e..0d72a11 100755 --- a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/module-setup.sh +++ b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/module-setup.sh @@ -11,9 +11,10 @@ # called by dracut check() { + require_binaries sync || return 1 require_binaries sleep || return 1 - require_binaries dmsetup || return 1 require_binaries sdmem || return 1 + require_binaries dmsetup || return 1 require_binaries systemd-detect-virt || return 1 return 0 } @@ -25,6 +26,7 @@ depends() { # called by dracut install() { + inst_multiple sync inst_multiple sleep inst_multiple sdmem inst_multiple dmsetup