a3b408b277
- enable dracut-cpio binary - feat(fips-crypto-policies): make c-p follow FIPS mode automatically - fix(fips-crypto-policies): make it depend on fips dracut module Resolves: RHEL-59678,RHEL-65204 From-source-git-commit: ff3186be9d5871c6ec216019463199bb78cc1b32
35 lines
845 B
Diff
35 lines
845 B
Diff
From 91f878a4fe4ed694baad59cdb1c7366b002cf1da Mon Sep 17 00:00:00 2001
|
|
From: Pavel Valena <pvalena@redhat.com>
|
|
Date: Thu, 8 Aug 2024 00:21:12 +0200
|
|
Subject: [PATCH 11/32] fix(resume): always include the resume module
|
|
|
|
as we can't determine with certainity that it won't be needed.
|
|
|
|
rhel-only
|
|
|
|
Resolves: RHEL-53350
|
|
---
|
|
modules.d/95resume/module-setup.sh | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/modules.d/95resume/module-setup.sh b/modules.d/95resume/module-setup.sh
|
|
index d419566e..c0f04a6c 100755
|
|
--- a/modules.d/95resume/module-setup.sh
|
|
+++ b/modules.d/95resume/module-setup.sh
|
|
@@ -1,7 +1,12 @@
|
|
#!/bin/bash
|
|
|
|
# called by dracut
|
|
+# shellcheck disable=SC2317
|
|
check() {
|
|
+
|
|
+ # Always include resume module
|
|
+ return 0
|
|
+
|
|
swap_on_netdevice() {
|
|
local _dev
|
|
for _dev in "${swap_devs[@]}"; do
|
|
--
|
|
2.42.0
|
|
|