[PATCH lorax] Add the kernel modules and tools necessary for ipmi logging (#1126009).

Chris Lumens clumens at redhat.com
Fri Aug 8 18:00:21 UTC 2014


---
 share/runtime-cleanup.tmpl | 4 ++--
 share/runtime-install.tmpl | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
index aae04d4..65b270f 100644
--- a/share/runtime-cleanup.tmpl
+++ b/share/runtime-cleanup.tmpl
@@ -91,8 +91,8 @@ arch/x86/kvm
     remove lib/modules/*/kernel/${kmodpath}
 %endfor
 remove lib/modules/*/{build,source,*.map}
-## Need to keep virtio_console.ko in drivers/char
-runcmd chroot ${root} find /lib/modules -regex ".*/kernel/drivers/char/.*" \! -name virtio_console.ko\* -delete
+## Need to keep virtio_console.ko and IPMI stuff in drivers/char
+runcmd chroot ${root} find /lib/modules -regex ".*/kernel/drivers/char/.*" \! -name virtio_console.ko\* \! -name ipmi* -delete
 ## NOTE: depmod gets re-run after cleanup finishes
 
 ## remove unused themes, theme engines, icons, etc.
diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl
index b6e161a..a287744 100644
--- a/share/runtime-install.tmpl
+++ b/share/runtime-install.tmpl
@@ -103,7 +103,7 @@ installpkg tigervnc-server-module
 installpkg net-tools
 
 ## hardware utilities/libraries
-installpkg pciutils usbutils
+installpkg pciutils usbutils ipmitool
 installpkg mt-st smartmontools
 %if basearch != "s390x":
 installpkg hdparm pcmciautils
-- 
1.9.3



More information about the anaconda-patches mailing list