updating for Ubuntu location of dkms-generated kernel modules

Conflicts:
	uninstall.sh
This commit is contained in:
Hin-Tak Leung 2020-09-14 11:13:40 +00:00
parent 0248378f7f
commit 5c311c4031

View file

@ -79,9 +79,12 @@ echo "remove dkms"
rm -rf /var/lib/dkms/seeed-voicecard || true rm -rf /var/lib/dkms/seeed-voicecard || true
echo "remove kernel modules" echo "remove kernel modules"
rm /lib/modules/${uname_r}/kernel/sound/soc/codecs/snd-soc-wm8960.ko || true rm /lib/modules/*/kernel/sound/soc/codecs/snd-soc-wm8960.ko || true
rm /lib/modules/${uname_r}/kernel/sound/soc/codecs/snd-soc-ac108.ko || true rm /lib/modules/*/kernel/sound/soc/codecs/snd-soc-ac108.ko || true
rm /lib/modules/${uname_r}/kernel/sound/soc/bcm/snd-soc-seeed-voicecard.ko || true rm /lib/modules/*/kernel/sound/soc/bcm/snd-soc-seeed-voicecard.ko || true
rm /lib/modules/*/updates/dkms/snd-soc-wm8960.ko || true
rm /lib/modules/*/updates/dkms/snd-soc-ac108.ko || true
rm /lib/modules/*/updates/dkms/snd-soc-seeed-voicecard.ko || true
echo "remove $CONFIG configuration" echo "remove $CONFIG configuration"
for i in $RPI_HATS; do for i in $RPI_HATS; do