🔥 Removes audio support

This commit is contained in:
Franck Nijhof 2019-04-09 19:39:27 +02:00
parent a98abea9ff
commit cb2cdd7579
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
2 changed files with 0 additions and 22 deletions

4
Vagrantfile vendored
View file

@ -139,10 +139,6 @@ module HassioCommunityAddons
vbox.customize ['modifyvm', :id, '--natdnshostresolver1', 'on']
vbox.customize ['modifyvm', :id, '--natdnsproxy1', 'on']
vbox.customize ['modifyvm', :id, '--usb', 'on', '--usbehci', 'on']
soundtype = ::Vagrant::Util::Platform.windows? ? 'dsound' : 'coreaudio'
vbox.customize ['modifyvm', :id, '--audio', soundtype,
'--audiocontroller', 'hda',
'--audioin', 'on', '--audioout', 'on']
end
end
# rubocop:enable Metrics/MethodLength

View file

@ -19,8 +19,6 @@ readonly HASSIO_INSTALLER="https://raw.githubusercontent.com/home-assistant/hass
readonly DOCKER_DOWNLOAD="https://download.docker.com/linux"
readonly NETDATA_INSTALLER="https://my-netdata.io/kickstart-static64.sh"
readonly APT_REQUIREMENTS=(
alsa
alsa-utils
apparmor-utils
apt-transport-https
avahi-daemon
@ -30,7 +28,6 @@ readonly APT_REQUIREMENTS=(
dkms
jq
network-manager
oem-audio-hda-daily-dkms
socat
software-properties-common
)
@ -48,24 +45,10 @@ readonly APT_REQUIREMENTS=(
# None
# ------------------------------------------------------------------------------
install_requirements() {
add-apt-repository -y ppa:ubuntu-audio-dev/alsa-daily
apt-get update
apt-get install -y "${APT_REQUIREMENTS[@]}"
}
# ------------------------------------------------------------------------------
# Configures audio device
#
# Arguments:
# None
# Returns:
# None
# ------------------------------------------------------------------------------
configure_audio() {
gpasswd --add vagrant audio
modprobe snd-hda-intel
}
# ------------------------------------------------------------------------------
# Installs the Docker engine
#
@ -185,7 +168,6 @@ show_post_up_message() {
# ------------------------------------------------------------------------------
main() {
install_requirements
configure_audio
install_docker
install_netdata
install_portainer