From b51ff608750a14d9f95116d6afb079cf7c1dc612 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 --- 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 4425ab58..dc2ff1c1 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/staging --allbut zram +removekmod drivers/video --allbut hyperv_fb remove lib/modules/*/{build,source,*.map} ## NOTE: depmod gets re-run after cleanup finishes