35 lines
845 B
Diff
35 lines
845 B
Diff
|
From 53d78f4eb236500465279c424c296ff576421c7c Mon Sep 17 00:00:00 2001
|
||
|
From: Pavel Valena <pvalena@redhat.com>
|
||
|
Date: Thu, 8 Aug 2024 00:21:12 +0200
|
||
|
Subject: [PATCH 14/24] 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
|
||
|
|