Add ipmitool and drivers (#1126009)

Add the ipmi tools and keep the impi drivers in the image.

Resolves: rhbz#1126009
This commit is contained in:
Brian C. Lane 2014-08-12 11:28:26 -07:00
parent bbec9e21bd
commit 1686a1a159
2 changed files with 3 additions and 3 deletions

View File

@ -90,8 +90,8 @@ arch/x86/kvm
remove lib/modules/*/kernel/${kmodpath} remove lib/modules/*/kernel/${kmodpath}
%endfor %endfor
remove lib/modules/*/{build,source,*.map} remove lib/modules/*/{build,source,*.map}
## Need to keep virtio_console.ko in drivers/char ## 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 -delete 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 ## NOTE: depmod gets re-run after cleanup finishes
## remove unused themes, theme engines, icons, etc. ## remove unused themes, theme engines, icons, etc.

View File

@ -95,7 +95,7 @@ installpkg tigervnc-server-module
installpkg net-tools installpkg net-tools
## hardware utilities/libraries ## hardware utilities/libraries
installpkg pciutils usbutils installpkg pciutils usbutils ipmitool
installpkg mt-st smartmontools installpkg mt-st smartmontools
%if basearch != "s390x": %if basearch != "s390x":
installpkg hdparm installpkg hdparm