From 82047a6aa7230031d2a579e81d5f8871c23e0616 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 7 Feb 2024 00:36:39 +0000 Subject: portable: add --copy=mixed to copy images and link profiles This new mode copies resources provided by the client, so that they remain available for inspect/detach even if the original images are deleted, but symlinks the profile as that is owned by the OS, so that updates are automatically applied. --- man/portablectl.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'man/portablectl.xml') diff --git a/man/portablectl.xml b/man/portablectl.xml index d0d00cf5d2..d241893d4d 100644 --- a/man/portablectl.xml +++ b/man/portablectl.xml @@ -321,12 +321,14 @@ - When attaching an image, select whether to prefer copying or symlinking of files installed into - the host system. Takes one of copy (to prefer copying of files), symlink - (to prefer creation of symbolic links) or auto for an intermediary mode where security - profile drop-ins are symlinked while unit files are copied. Note that this option expresses a preference only, - in cases where symbolic links cannot be created — for example when the image operated on is a raw disk image, - and hence not directly referentiable from the host file system — copying of files is used + When attaching an image, select whether to prefer copying or symlinking of files + installed into the host system. Takes one of copy (files will be copied), + symlink (to prefer creation of symbolic links), auto for an + intermediary mode where security profile drop-ins and images are symlinked while unit files are + copied, or mixed (since v256) where security profile drop-ins are symlinked while + unit files and images are copied. Note that this option expresses a preference only, in cases where + symbolic links cannot be created — for example when the image operated on is a raw disk image, and + hence not directly referentiable from the host file system — copying of files is used unconditionally. -- cgit v1.2.3