summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2013-05-23 11:57:36 +0200
committerTails developers <amnesia@boum.org>2013-05-23 16:52:56 +0200
commit3233da6c74a73a925871282e10a69969ba9df8a5 (patch)
treecba12b9d5066b6479c28bb9874dc44abfe1a7992
parenta5ea3c68920808f0db711fded0a43f81127e2212 (diff)
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.
-rwxr-xr-xauto/build1
l---------config/chroot_local-includes/live/overlay1
2 files changed, 2 insertions, 0 deletions
diff --git a/auto/build b/auto/build
index dc3f4c4..ac7b43f 100755
--- a/auto/build
+++ b/auto/build
@@ -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
diff --git a/config/chroot_local-includes/live/overlay b/config/chroot_local-includes/live/overlay
new file mode 120000
index 0000000..1f1f1cf
--- /dev/null
+++ b/config/chroot_local-includes/live/overlay
@@ -0,0 +1 @@
+/lib/live/mount/overlay \ No newline at end of file