From 55bd8387c92f83a188b3a1e9922cf7b3f2edce04 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Wed, 7 Apr 2021 00:16:29 +0500 Subject: [PATCH] Bind /etc/asound.conf and /etc/machine-id Fixes sound issues on some systems. --- squashfs-start.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/squashfs-start.sh b/squashfs-start.sh index 0befa77..9529ae3 100755 --- a/squashfs-start.sh +++ b/squashfs-start.sh @@ -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} \