This commit is contained in:
Joey Hess 2025-03-10 17:35:34 -04:00
parent 106373c53b
commit a9df446d5d
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -68,3 +68,13 @@ documentation for details about these options.
* `--no-compat` * `--no-compat`
* `--fakeroot` * `--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