From 763d4fe6405b861e4c58903a780ad2c3c8a33904 Mon Sep 17 00:00:00 2001 From: Benoit Lelandais <41573600+lelandaisb@users.noreply.github.com> Date: Mon, 2 Oct 2023 11:26:49 +0200 Subject: [PATCH] Update spack-mirroring.md --- docs/spack-mirroring.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/spack-mirroring.md b/docs/spack-mirroring.md index d812c7a..37535d6 100644 --- a/docs/spack-mirroring.md +++ b/docs/spack-mirroring.md @@ -18,10 +18,10 @@ Activate the Spack environment used to build the image and create the mirror. *Step 3* -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. +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. cd /spack/var/spack - tar cvfz /mgx-mirror/cache.tar.gz cache + tar hcvfz /mgx-mirror/cache.tar.gz cache Then, you can exit from the container and go the previously mounted directory on your computer, `/tmp/mgx-mirror`in this example. 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.