28 lines
696 B
Diff
28 lines
696 B
Diff
From 0bdd0f7b652560f7ff82feb730324adf0c4cccfd Mon Sep 17 00:00:00 2001
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
Date: Tue, 13 May 2025 17:28:25 +0100
|
|
Subject: [PATCH] RHEL: appliance/init: Run depmod -a to rebuild kernel module
|
|
dependencies
|
|
|
|
---
|
|
appliance/init | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/appliance/init b/appliance/init
|
|
index 5d35a47dd..a3c5654ea 100755
|
|
--- a/appliance/init
|
|
+++ b/appliance/init
|
|
@@ -116,6 +116,9 @@ $UDEVD --daemon #--debug
|
|
udevadm trigger
|
|
udevadm settle --timeout=600
|
|
|
|
+# Recreate module dependencies (RHEL only)
|
|
+depmod -a
|
|
+
|
|
# Disk optimizations.
|
|
# Increase the SCSI timeout so we can read remote images.
|
|
shopt -s nullglob
|
|
--
|
|
2.47.1
|
|
|