summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/lib
diff options
context:
space:
mode:
authorAlan <alan@boum.org>2018-03-22 23:36:46 +0000
committerAlan <alan@boum.org>2018-03-22 23:36:46 +0000
commite84e14e04d04297d4f97bd8246f25ee31c069076 (patch)
treee90d8fe0f4d5eb4f06f449d9593d16a3e464b748 /config/chroot_local-includes/lib
parent36747f473873ca7fd1e70eb37419faba3ace0711 (diff)
ASP: fix apt archive path in persistence
Will-fix: #15431
Diffstat (limited to 'config/chroot_local-includes/lib')
-rw-r--r--config/chroot_local-includes/lib/systemd/system/tails-synchronize-data-to-new-persistent-volume.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/chroot_local-includes/lib/systemd/system/tails-synchronize-data-to-new-persistent-volume.service b/config/chroot_local-includes/lib/systemd/system/tails-synchronize-data-to-new-persistent-volume.service
index 638c176..b8f1207 100644
--- a/config/chroot_local-includes/lib/systemd/system/tails-synchronize-data-to-new-persistent-volume.service
+++ b/config/chroot_local-includes/lib/systemd/system/tails-synchronize-data-to-new-persistent-volume.service
@@ -10,7 +10,8 @@ ExecStop=/bin/sh -c ' \
echo "Copy APT data to newly created persistent volume"; \
mkdir /media/tails-persistence-setup/TailsData/apt/ && \
cp -a /var/cache/apt/archives \
- /var/lib/apt/lists \
+ /media/tails-persistence-setup/TailsData/apt/cache; \
+ cp -a /var/lib/apt/lists \
/media/tails-persistence-setup/TailsData/apt/; \
fi'