install2: do not cleanup cec and rc kernel modules (needed for amdgpu)

This commit is contained in:
Сергей Турчин 2021-01-26 11:33:40 +03:00 committed by Anton Midyukov
parent 164fd6e5d1
commit 68a09bc89a

View File

@ -38,7 +38,8 @@ rm -rf /lib/modules/*/kernel/drivers/infiniband ###
rm -rf /lib/modules/*/kernel/drivers/input/{gameport,joy*}
rm -rf /lib/modules/*/kernel/drivers/isdn
rm -rf /lib/modules/*/kernel/drivers/leds
rm -rf /lib/modules/*/kernel/drivers/media
# amdgpu require cec and rc
#rm -rf /lib/modules/*/kernel/drivers/media/[^cec]*
rm -rf /lib/modules/*/kernel/drivers/mtd*
rm -rf /lib/modules/*/kernel/drivers/net/can
rm -rf /lib/modules/*/kernel/drivers/net/hamradio