summarylogtreecommitdiffstats
path: root/kav
diff options
context:
space:
mode:
authorIncident2012016-03-23 16:24:32 +0300
committerIncident2012016-03-23 16:24:32 +0300
commit0c243484c829dae34969e57f69c1683eeb1d74f3 (patch)
tree2499c404386e1b00717a713b7b886afd1f7c6e35 /kav
parent4ebcaa27913f70ac64b1ac0ef51ecc344c2bb163 (diff)
downloadaur-kav.tar.gz
read-only mounting
Diffstat (limited to 'kav')
-rwxr-xr-xkav2
1 files changed, 1 insertions, 1 deletions
diff --git a/kav b/kav
index 7a82d97272b8..eb6dd7d8b35d 100755
--- a/kav
+++ b/kav
@@ -1,6 +1,6 @@
#!/bin/bash
xhost +local:
-mount --bind / /opt/kav/rootfs/discs/D:
+mount -o ro --bind / /opt/kav/rootfs/discs/D:
cat /opt/kav/rootfs/etc/bash/bashrc | sed 's/^export\ DISPLAY.*/export\ DISPLAY='$DISPLAY'/g' > /opt/kav/root/etc/bash/bashrc
systemd-nspawn -D /opt/kav/rootfs --bind /tmp/.X11-unix:/tmp/.X11-unix --machine=kav
umount /opt/kav/rootfs/discs/D: