Keep hyperv_fb driver in the image (#834791)

Hyper-V needs this.

Resolves: rhbz#834791
This commit is contained in:
Brian C. Lane 2015-06-25 15:01:27 -07:00
parent f15503d2cc
commit b51ff60875

View File

@ -76,7 +76,7 @@ remove /var/lib/rpm/* /var/lib/yum
remove /usr/share/icons/*/icon-theme.cache remove /usr/share/icons/*/icon-theme.cache
## clean up kernel modules ## 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/atm net/bluetooth net/sched net/sctp \
net/rds net/l2tp net/decnet net/netfilter net/ipv4 net/ipv6 \ net/rds net/l2tp net/decnet net/netfilter net/ipv4 net/ipv6 \
drivers/watchdog drivers/target drivers/rtc drivers/input/joystick \ 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 \ removekmod drivers/char --allbut virtio_console hw_random \
virtio-rng ipmi virtio-rng ipmi
removekmod drivers/staging --allbut zram removekmod drivers/staging --allbut zram
removekmod drivers/video --allbut hyperv_fb
remove lib/modules/*/{build,source,*.map} remove lib/modules/*/{build,source,*.map}
## NOTE: depmod gets re-run after cleanup finishes ## NOTE: depmod gets re-run after cleanup finishes