Commit 59573b6f authored by intrigeri's avatar intrigeri
Browse files

Repair dotfiles persistence feature by adding a symlink from...

Repair dotfiles persistence feature by adding a symlink from /lib/live/mount/persistence to /live/persistence.

live-boot's "link" option generates symlinks to /lib/live/mount/persistence.

This is correct in the supported use case (persistence initialized at initramfs
time), because components/ does "Move all mountpoints below /live
into /root/lib/live/mount" after setting up persistence. Our own
config/chroot_local-includes/usr/local/sbin/live-persist, however, mounts stuff
in /live/persistence instead, so the generated links are wrong.

We have lots of Tails-specific stuff that depends on the /live/persistence path,
so I'd rather not change that, and instead I'm adding a compatibility symlinks.

Will-fix: #10784
parent 3f57f379
......@@ -63,6 +63,7 @@ chmod go+rX config/chroot_local-includes/home
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/lib/live/mount
chmod -R go+rX config/chroot_local-includes/lib/systemd
chmod go+rX config/chroot_local-includes/live
chmod -R go+rX config/chroot_local-includes/usr
\ No newline at end of file
Supports Markdown
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