Bind /etc/asound.conf and /etc/machine-id

Fixes sound issues on some systems.
This commit is contained in:
Kron4ek 2021-04-07 00:16:29 +05:00 committed by GitHub
parent bb8e7bad89
commit 55bd8387c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ export working_dir=/tmp/"$(basename "${script}")"_"${USER}"_"${script_md5}"
# a problem with mounting the squashfs image due to an incorrectly calculated offset.
# The size of this script
scriptsize=13588
scriptsize=13692
# The size of the utils.tar archive
# utils.tar contains bwrap and squashfuse binaries
@ -206,6 +206,8 @@ run_bwrap () {
--ro-bind-try /etc/nsswitch.conf /etc/nsswitch.conf \
--ro-bind-try /etc/passwd /etc/passwd \
--ro-bind-try /etc/group /etc/group \
--ro-bind-try /etc/machine-id /etc/machine-id \
--ro-bind-try /etc/asound.conf /etc/asound.conf \
${dirs} \
${net} \
${nvidia_driver_bind} \