2024-10-31 20:03:00 +00:00
|
|
|
From 91f878a4fe4ed694baad59cdb1c7366b002cf1da Mon Sep 17 00:00:00 2001
|
2024-07-22 17:47:47 +00:00
|
|
|
From: Pavel Valena <pvalena@redhat.com>
|
|
|
|
Date: Thu, 8 Aug 2024 00:21:12 +0200
|
2024-10-31 20:03:00 +00:00
|
|
|
Subject: [PATCH 11/32] fix(resume): always include the resume module
|
2024-07-22 17:47:47 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|