You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/MaintainersSection.rst
+39-2Lines changed: 39 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ For certain limited use cases, we need to provide ``mysql`` through spack-stack.
90
90
.. _MaintainersSection_Texlive:
91
91
92
92
------------------------------
93
-
Texlive (TeX/LaTeX)
93
+
Texlive (TeX/LaTeX; optional)
94
94
------------------------------
95
95
96
96
Building ``texlive`` isn't straightforward as it has many dependencies. Since it is only used to generated documentation for ``spack-stack`` (and other projects), i.e. not to compile any code, it makes no sense to build it with ``spack``. We therefore require ``texlive`` or any other compatible TeX/LaTeX distribution as an external package.
@@ -324,7 +324,7 @@ The newly created local mirror should be listed at the top, which means that spa
324
324
Spack mirrors for air-gapped systems
325
325
------------------------------------
326
326
327
-
The procedure is similar to using spack mirrors for local reuse, but a few additional steps are needed in between.
327
+
The procedure for creating source caches is similar to using spack mirrors for local reuse, but a few additional steps are needed in between. The steps to create a mirror for bootstrapping spack on an air-gapped system are described in the next section.
328
328
329
329
1. On the air-gapped system: Create an environment as usual, activate it and run the concretization step (``spack concretize``), but do not start the installation yet.
330
330
@@ -358,6 +358,43 @@ The procedure is similar to using spack mirrors for local reuse, but a few addit
358
358
359
359
7. On the air-gapped system: Proceed with the installation as usual.
360
360
361
+
----------------------------------------
362
+
Bootstrap mirrors for air-gapped systems
363
+
----------------------------------------
364
+
365
+
To use spack on an air-gapped system, the first step is to create a mirror that allows spack to bootstrap from. The logic is similar to that for creating source caches for spack installations. On a system with access to the internet, a series of commands is run to create a bootstrap mirror. The bootstrap mirror is then copied over to the air-gapped system and registered so that spack can use it.
366
+
367
+
1. On the system with access to the internet, and using the same version of spack-stack (and its spack submodule) as on the air-gapped target system:
368
+
369
+
.. code-block:: console
370
+
371
+
# After running "source setup.sh" in the spack-stack top-level directory
2. Transfer ``./bootstrap-mirror`` to the air-gapped system, preferably to the same location inside the spack-stack top-level directory (i.e. ``${SPACK_STACK_DIR}/bootstrap-mirror/``).
377
+
378
+
3. On the air-gapped system, run the following series of commands:
379
+
380
+
.. code-block:: console
381
+
382
+
# After running "source setup.sh" in the spack-stack top-level directory
4. Bootstrap spack explicitly before creating environments and check the status. There may be error messages along the way, but as long as the command completes and ``spack bootstrap status`` shows ``PASS`` for both ``Core Functionalities`` and ``Binary packages``, it was successful.
0 commit comments