From a9df446d5d3cc4d82ca025b9e8574e194f583659 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Mar 2025 17:35:34 -0400 Subject: [PATCH] expand --- .../git-annex-compute-singularity-examples.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/special_remotes/compute/git-annex-compute-singularity-examples.mdwn b/doc/special_remotes/compute/git-annex-compute-singularity-examples.mdwn index 7613667cdc..48c9f1e052 100644 --- a/doc/special_remotes/compute/git-annex-compute-singularity-examples.mdwn +++ b/doc/special_remotes/compute/git-annex-compute-singularity-examples.mdwn @@ -68,3 +68,13 @@ documentation for details about these options. * `--no-compat` * `--fakeroot` + +For example, passing the --fakeroot option: + + git-annex addcomputed --to=singularity -- --fakeroot debian.sif foo bar -- baz -- sh -c 'cat foo bar > baz' + +Since singularity happens to also accept `--fakeroot=1` and +`--no-compat=1`, it's also possible to set these options by +default in initremote: + + git-annex initremote foo type=compute program=git-annex-compute-singularity passthrough=imageconvert.sif -- --fakeroot=1