mrrl-containers

MRRL version of container scripts
git clone https://ccx.te2000.cz/git/mrrl-containers
Log | Files | Refs

commit 527f5660d1cfda916d5c2169702dfe42fdf9b468
parent 0050264dd326d11d0fbb9a5d7881f5d8ad259df7
Author: ccx <ccx@te2000.cz>
Date:   Wed, 10 Apr 2024 16:47:25 +0000

Use generic runscript for sndiod container

Diffstat:
Mzsh-functions/confz_site_containers_init | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/zsh-functions/confz_site_containers_init b/zsh-functions/confz_site_containers_init @@ -127,6 +127,13 @@ confz_site_containers_user_check() { ) local with_usb=prepare_chroot=${(F)el_mount_usb_devices} + local -a el_mount_audio_devices=( + "#!$(which execlineb) -P" + 'if { mount -o bind,ro /dev/snd dev/snd }' + 'mount -t sysfs sysfs sys' # maybe not necessary? + ) + local with_audio=prepare_chroot=${(F)el_mount_audio_devices} + UC alpine-browsers UC pentoo UCa weechat @@ -149,7 +156,7 @@ confz_site_containers_user_check() { UC xpra gentoo-xorg container_type=ephemeral $in_netns UC bzr alpine-breezy mount_rw=ccx-bzr $in_netns UC spark alpine-dev-spark mount_rw="ccx-bzr ccx-git" - UC sndiod alpine-sndio container_type=alsa + UC sndiod alpine-sndio $with_audio $in_netns UC mpd void-mpd mount_ro="init audio" UC {,}alpine-recombee mount_rw=ccx-git-recombee