updating for Ubuntu location of dkms-generated kernel modules
Conflicts: uninstall.sh
This commit is contained in:
parent
0248378f7f
commit
5c311c4031
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue