From 1686a1a1593c6e7c93ca08a304588bcbd0149067 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 12 Aug 2014 11:28:26 -0700 Subject: [PATCH] Add ipmitool and drivers (#1126009) Add the ipmi tools and keep the impi drivers in the image. Resolves: rhbz#1126009 --- 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 97aea7fb..d06c2231 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -90,8 +90,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 47596169..7e295f0d 100644 --- a/share/runtime-install.tmpl +++ b/share/runtime-install.tmpl @@ -95,7 +95,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