Commit c8429eec authored by intrigeri's avatar intrigeri
Browse files

Create flag file for debugging (refs: #17278)

I guess we could revert this commit once we're confident we have fixed
the main bugs in this area.
parent a6eedd4e
......@@ -8,11 +8,13 @@ ExecStop=/bin/sh -c ' \
if mountpoint -q /media/tails-persistence-setup/TailsData \
&& test ! -d /media/tails-persistence-setup/TailsData/apt; then \
echo "Copy APT data to newly created persistent volume"; \
touch /media/tails-persistence-setup/TailsData/apt_sync_started && \
mkdir /media/tails-persistence-setup/TailsData/apt/ && \
cp -a /var/cache/apt/archives \
/media/tails-persistence-setup/TailsData/apt/cache && \
cp -a /var/lib/apt/lists \
/media/tails-persistence-setup/TailsData/apt/; \
/media/tails-persistence-setup/TailsData/apt/ && \
touch /media/tails-persistence-setup/TailsData/apt_sync_completed; \
fi'
[Install]
......
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