Skip to content
Permalink
Browse files

Ensure pulseaudio in guest also has timer mode disabled

  • Loading branch information
sakaki- committed Sep 11, 2019
1 parent ed4d919 commit 7b4e71b19a148d24ca25d6df3d1aee52e61c2492
Showing with 6 additions and 0 deletions.
  1. +6 −0 host-image/usr/sbin/init-container
@@ -117,6 +117,12 @@ chmod 0440 "${CONTAINER}/etc/sudoers.d/010_at-export"
cp -a "${SOURCE}/etc/sudoers.d/010_libgl-export" "${CONTAINER}/etc/sudoers.d/"
chmod 0440 "${CONTAINER}/etc/sudoers.d/010_libgl-export"

# ensure guest's pulseaudio also in non-timer mode
if [[ -s "${CONTAINER}/etc/pulse/default.pa" ]]; then
sed -i -e 's#^load-module module-udev-detect$#load-module module-udev-detect tsched=0#g' \
"${CONTAINER}/etc/pulse/default.pa"
fi

# finally, call other 'reflect' helpers once, to ensure the host- data
# inside the container is available for its first startup (it is up to
# counterpart services inside the container to actually use this)

0 comments on commit 7b4e71b

Please sign in to comment.
You can’t perform that action at this time.