Merge pull request #12 from Lance0312/create-alsa-lib

Copy shared library using install -D
This commit is contained in:
Baozhu Zuo 2017-10-24 22:17:58 +08:00 committed by GitHub
commit b9d9cde471
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ if [ ! -f "/boot/overlays/seeed-4mic-voicecard.dtbo" ] && [ ! -f "/lib/modules/$
install_module "./" "seeed-voicecard"
cp seeed-2mic-voicecard.dtbo /boot/overlays
cp seeed-4mic-voicecard.dtbo /boot/overlays
cp ac108_plugin/libasound_module_pcm_ac108.so /usr/lib/arm-linux-gnueabihf/alsa-lib/
install -D ac108_plugin/libasound_module_pcm_ac108.so /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_ac108.so
else
echo "card driver already installed"
fi