Pulseaudio dirty fix on musl-based distros.
This commit is contained in:
parent
ed01f1bb55
commit
3c0d4b7dfd
@ -32,7 +32,7 @@ If you use runit, copy archbox folder inside ```runit/``` to whatever your distr
|
||||
You may want to add this if you don't want to run archbox chroot without password :
|
||||
#### Sudo
|
||||
```
|
||||
%wheel ALL=(root) NOPASSWD: /usr/local/share/archbox/bin/archbox,/usr/local/share/archbox/bin/copyresolv
|
||||
%wheel ALL=(root) NOPASSWD: /usr/local/share/archbox/bin/archbox,/usr/local/share/archbox/bin/copyresolv,/usr/local/share/archbox/bin/remount_run
|
||||
```
|
||||
#### Doas
|
||||
```
|
||||
|
@ -27,6 +27,7 @@ OPTIONS:
|
||||
-c, --create URL Creates a chroot enviroment.
|
||||
-e, --enter Enters chroot enviroment.
|
||||
-h, --help Displays this help message.
|
||||
--remount-run Remount /run in chroot enviroment.
|
||||
|
||||
EOF
|
||||
}
|
||||
@ -83,6 +84,9 @@ case $1 in
|
||||
copyresolv
|
||||
$PRIV /usr/local/share/archbox/bin/archbox enter
|
||||
;;
|
||||
--remount-run)
|
||||
$PRIV /usr/local/share/archbox/bin/remount_run
|
||||
;;
|
||||
-h|--help)
|
||||
help_text
|
||||
;;
|
||||
|
@ -5,4 +5,5 @@ install -v -D -m 755 ./archbox.bash /usr/local/bin/archbox
|
||||
[[ ! -e /etc/archbox.conf ]] && install -v -D -m 755 ./archbox.conf /etc/archbox.conf
|
||||
install -v -D -m 755 ./copyresolv.bash /usr/local/share/archbox/bin/copyresolv
|
||||
install -v -D -m 755 ./archboxcommand.bash /usr/local/share/archbox/bin/archbox
|
||||
install -v -D -m 755 ./remount_run.bash /usr/local/share/archbox/bin/remount_run
|
||||
install -v -D -m 755 ./chroot_setup.bash /usr/local/share/archbox/chroot_setup.bash
|
||||
|
6
remount_run.bash
Executable file
6
remount_run.bash
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
source /etc/archbox.conf
|
||||
|
||||
umount -l $CHROOT/run
|
||||
mount --rbind /run $CHROOT/run
|
Loading…
Reference in New Issue
Block a user