Skip to content

Commit 763d4fe

Browse files
authored
Update spack-mirroring.md
1 parent 8c82fff commit 763d4fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/spack-mirroring.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Activate the Spack environment used to build the image and create the mirror.
1818

1919
*Step 3*
2020

21-
Go to the `/spack/var/spack`, tar the cache directory of the previously created mirror in your local file system through the mounting point, `/mgx-mirror`in this example.
21+
Go to the `/spack/var/spack`, tar the cache directory of the previously created mirror (with h option to follow symlinks) in your local file system through the mounting point, `/mgx-mirror`in this example.
2222

2323
cd /spack/var/spack
24-
tar cvfz /mgx-mirror/cache.tar.gz cache
24+
tar hcvfz /mgx-mirror/cache.tar.gz cache
2525

2626
Then, you can exit from the container and go the previously mounted directory on your computer, `/tmp/mgx-mirror`in this example.
2727
Do not forget to download the last release of [spack LIHPC-CG recipes](https://github.com/LIHPC-Computational-Geometry/spack_recipes/releases) in the same directory.

0 commit comments

Comments
 (0)