We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b8348 commit 6cfd3ecCopy full SHA for 6cfd3ec
1 file changed
easybuild/tools/bwrap.py
@@ -122,6 +122,8 @@ def prepare_bwrap(bwrap_installpath):
122
123
mkdir(bwrap_installpath_modules, parents=True)
124
125
+ bwrap_workdir = os.path.join(bwrap_installpath, 'workdir')
126
+
127
try:
128
mkdir(installpath_modules, parents=True)
129
# copy installpath_modules to bwrap_installpath_moduleto ensure all installed modules are available
@@ -134,7 +136,6 @@ def prepare_bwrap(bwrap_installpath):
134
136
})
135
137
except EasyBuildError:
138
# if we can't create the external modules directory, try to use overlayfs
- bwrap_workdir = os.path.join(bwrap_installpath, 'workdir')
139
mkdir(bwrap_workdir, parents=True)
140
bwrap_opts.update({
141
f'--overlay-src {installpath_modules} --overlay {bwrap_installpath_modules} {bwrap_workdir} '
0 commit comments