From 4342b8f40b6ac582a376f78b33e3fb51a4a8d9fd Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 25 Jun 2015 15:01:27 -0700 Subject: [PATCH] Keep hyperv_fb driver in the image (#834791) Hyper-V needs this. Resolves: rhbz#834791 (cherry picked from commit b51ff608750a14d9f95116d6afb079cf7c1dc612) --- share/runtime-cleanup.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 954f3fab..1dc720cc 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -76,7 +76,7 @@ remove /var/lib/rpm/* /var/lib/yum remove /usr/share/icons/*/icon-theme.cache ## clean up kernel modules -removekmod sound drivers/media drivers/hwmon drivers/video \ +removekmod sound drivers/media drivers/hwmon \ net/atm net/bluetooth net/sched net/sctp \ net/rds net/l2tp net/decnet net/netfilter net/ipv4 net/ipv6 \ drivers/watchdog drivers/target drivers/rtc drivers/input/joystick \ @@ -90,6 +90,7 @@ removekmod sound drivers/media drivers/hwmon drivers/video \ removekmod drivers/char --allbut virtio_console hw_random \ virtio-rng ipmi removekmod drivers/hid --allbut hid-logitech-dj hid-logitech-hidpp +removekmod drivers/video --allbut hyperv_fb remove lib/modules/*/{build,source,*.map} ## NOTE: depmod gets re-run after cleanup finishes