Commit 3233da6c authored by Tails developers's avatar Tails developers
Browse files

Add /live/overlay -> /lib/live/mount/overlay symlink, for real this time.

The live-boot changes (commit d2b2a461) brought to fix Debian bug#696495 revert
some of our previous changes (commit 77dab1cb), and as a result, at the time
live-persist runs, no tmpfs is mounted on /live/overlay while this command is
run:

  mount -t aufs -o noatime,noxino,dirs=/live/overlay//home/amnesia/Persistent=rw:/live/persistence/sda2_unlocked/Persistent=rr+wh aufs /home/amnesia/Persistent

... and dmesg therefore reads:

  aufs test_add:264:mount[4677]: unsupported filesystem, /live/overlay//home/amnesia/Persistent (aufs)

So, let's just ensure /live/overlay points to a tmpfs.
parent a5ea3c68
......@@ -42,6 +42,7 @@ chmod 0440 config/chroot_local-includes/etc/sudoers.d/*
chmod go+rX config/chroot_local-includes/lib
chmod go+rX config/chroot_local-includes/lib/live
chmod -R go+rx config/chroot_local-includes/lib/live/config
chmod go+rX config/chroot_local-includes/live
chmod -R go+rX config/chroot_local-includes/usr
chmod -R go+rx config/chroot_local-includes/usr/local/bin
chmod -R go+rx config/chroot_local-includes/usr/local/sbin
......
/lib/live/mount/overlay
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment