52fb8f6eda
From-source-git-commit: 56bf1917de004cd3f9032a68a6cd09d5bd972b04 Additional fixes: - support for erofs in squash modules - always include the resume module - include systemd config files from /usr/lib/systemd - only return block devices from get_persistent_dev - allow for \ in get_maj_min file path - install blk modules using symbol blk_alloc_disk Resolves: RHEL-32237,RHEL-32506,RHEL-43460,RHEL-47145,RHEL-49744,RHEL-53350
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
|
|
|