Umount before mounting XDG_RUNTIME_DIR.
This commit is contained in:
parent
c3195230c0
commit
22bde30d2f
@ -10,6 +10,7 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
runtimeonly)
|
runtimeonly)
|
||||||
mkdir -p $CHROOT/$(cat /tmp/archbox_xdg_runtime_dir)
|
mkdir -p $CHROOT/$(cat /tmp/archbox_xdg_runtime_dir)
|
||||||
|
umount -Rl $CHROOT/$(cat /tmp/archbox_xdg_runtime_dir)
|
||||||
mount --rbind $(cat /tmp/archbox_xdg_runtime_dir) $CHROOT/$(cat /tmp/archbox_xdg_runtime_dir)
|
mount --rbind $(cat /tmp/archbox_xdg_runtime_dir) $CHROOT/$(cat /tmp/archbox_xdg_runtime_dir)
|
||||||
exit $?
|
exit $?
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user