diff --git a/misc/fstab b/misc/fstab index 05151ab..6f44647 100644 --- a/misc/fstab +++ b/misc/fstab @@ -4,6 +4,7 @@ /dev/mapper/dmroot / ext4 defaults,discard,noatime 1 1 /dev/xvdb /rw auto noauto,defaults,discard 1 2 /rw/home /home none noauto,bind,defaults 0 0 +/rw/usrlocal /usr/local none noauto,bind,defaults 0 0 /dev/xvdc1 swap swap defaults 0 0 tmpfs /dev/shm tmpfs defaults,size=1G 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 diff --git a/vm-systemd/mount-dirs.sh b/vm-systemd/mount-dirs.sh index f631842..1c93b82 100755 --- a/vm-systemd/mount-dirs.sh +++ b/vm-systemd/mount-dirs.sh @@ -13,6 +13,8 @@ if [ -e /dev/xvdb ] ; then mount /rw ; fi initialize_home "/rw/home" ifneeded echo "Mounting /rw/home onto /home" >&2 mount /home +echo "Mounting /rw/usrlocal onto /usr/local" >&2 +mount /usr/local # https://github.com/QubesOS/qubes-issues/issues/1328#issuecomment-169483029 # Do none of the following in a DispVM. /usr/lib/qubes/init/bind-dirs.sh