summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-06-29 15:39:18 +0200
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-07-20 08:10:41 +0200
commit4f40c9aab93673a10325dfe6e78b57ca84788a0e (patch)
tree7e5b3f3471225de00ccae9d505a3ffbb96f06d5d /lib
parent618161075d3abbc1ab2e3efd38107e54f2c7b8af (diff)
downloadspack-4f40c9aab93673a10325dfe6e78b57ca84788a0e.tar.gz
spack-4f40c9aab93673a10325dfe6e78b57ca84788a0e.tar.bz2
spack-4f40c9aab93673a10325dfe6e78b57ca84788a0e.tar.xz
spack-4f40c9aab93673a10325dfe6e78b57ca84788a0e.zip
Update containerize templates to account for view indirection (#31321)
fixes #30965
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/container/writers/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/container/writers/__init__.py b/lib/spack/spack/container/writers/__init__.py
index 9b38b8162f..e9541e91e7 100644
--- a/lib/spack/spack/container/writers/__init__.py
+++ b/lib/spack/spack/container/writers/__init__.py
@@ -171,11 +171,12 @@ class PathContext(tengine.Context):
def paths(self):
"""Important paths in the image"""
Paths = collections.namedtuple('Paths', [
- 'environment', 'store', 'view'
+ 'environment', 'store', 'hidden_view', 'view'
])
return Paths(
environment='/opt/spack-environment',
store='/opt/software',
+ hidden_view='/opt/._view',
view='/opt/view'
)