More musl workarounds.
This commit is contained in:
parent
328182c814
commit
30ab328780
6
exp/startx-killxdg.bash
Executable file
6
exp/startx-killxdg.bash
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
source /etc/archbox.conf
|
||||
|
||||
startx
|
||||
$PRIV /usr/local/share/archbox/bin/remount_run killxdg
|
@ -7,3 +7,7 @@ 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
|
||||
|
||||
if [ $1 = "--exp" ]; then
|
||||
install -v -D -m 755 ./exp/startx-killxdg.bash /usr/local/bin/startx-killxdg
|
||||
fi
|
||||
|
@ -2,5 +2,13 @@
|
||||
|
||||
source /etc/archbox.conf
|
||||
|
||||
umount -l $CHROOT/run
|
||||
mount --rbind /run $CHROOT/run
|
||||
case $1 in
|
||||
killxdg)
|
||||
umount -l $CHROOT/run
|
||||
fuser -km $(cat /tmp/archbox_xdg_runtime_dir)
|
||||
;;
|
||||
*)
|
||||
umount -l $CHROOT/run
|
||||
mount --rbind /run $CHROOT/run
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user