From 7523383ecc90bd06877785ebb36f263800a68cf8 Mon Sep 17 00:00:00 2001 From: s-martin Date: Sat, 2 Jan 2021 10:05:30 +0100 Subject: [PATCH] Ensure ALSA is installed (#1255) * Ensure ALSA is installed * Fixed typo * Added alsa to tests also --- scripts/installscripts/buster-install-default.sh | 2 +- scripts/installscripts/tests/test_installation.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/installscripts/buster-install-default.sh b/scripts/installscripts/buster-install-default.sh index b4b4f553f..07aaabde3 100755 --- a/scripts/installscripts/buster-install-default.sh +++ b/scripts/installscripts/buster-install-default.sh @@ -781,7 +781,7 @@ install_main() { ${apt_get} ${allow_downgrades} install raspberrypi-kernel-headers fi - ${apt_get} ${allow_downgrades} install samba samba-common-bin gcc lighttpd php7.3-common php7.3-cgi php7.3 at mpd mpc mpg123 git ffmpeg resolvconf spi-tools netcat + ${apt_get} ${allow_downgrades} install samba samba-common-bin gcc lighttpd php7.3-common php7.3-cgi php7.3 at mpd mpc mpg123 git ffmpeg resolvconf spi-tools netcat alsa-tools # restore backup of /etc/resolv.conf in case installation of resolvconf cleared it sudo cp /etc/resolv.conf.orig /etc/resolv.conf diff --git a/scripts/installscripts/tests/test_installation.sh b/scripts/installscripts/tests/test_installation.sh index 473cd6cf3..2b48b21e2 100755 --- a/scripts/installscripts/tests/test_installation.sh +++ b/scripts/installscripts/tests/test_installation.sh @@ -155,7 +155,7 @@ verify_apt_packages(){ local packages="libspotify-dev samba samba-common-bin gcc lighttpd php7.3-common php7.3-cgi php7.3 at mpd mpc mpg123 git ffmpeg resolvconf spi-tools python3 python3-dev python3-pip python3-mutagen python3-gpiozero -python3-spidev netcat" +python3-spidev netcat alsa-tools" # TODO apt-transport-https checking only on RPi is currently a workaround local packages_raspberrypi="apt-transport-https raspberrypi-kernel-headers" local packages_spotify="mopidy mopidy-mpd mopidy-local mopidy-spotify libspotify12