add support for installing with bwrap#5130
add support for installing with bwrap#5130smoors wants to merge 27 commits intoeasybuilders:developfrom
Conversation
|
@smoors I only took a very quick look at this, but do we really need |
|
@smoors We should cover the use of Maybe an extra step can be added at the end of |
done in ab03bb8 successful test in https://github.com/easybuilders/easybuild-framework/actions/runs/22448778136/job/65010878984?pr=5130 it runs in a separate workflow, directly in the VM instead of a container because i couldn't get bwrap to work in a container in a github workflow. |
|
This looks like a very good start, however we have a slightly different use case where ideally we'd be able to have the installation directory on a read-only file system (e.g. cvmfs), i.e. which EESSI solves with apptainer. but for that the and then It has to be mounted at that exact point (first parent dir that exists) since if you go too high you'll have permission issues inside bwrap. This could be added in a compatible fashion, i.e. if the |
|
@bartoldeman would be nice if you can get it working with overlayfs. our bwrap version doesn't support it yet, but we currently don't have cvmfs so we don't need it (yet). |
cfr. #4110
UPDATE 2026-03-13
done:
--bwrap-installpathoption to specify the temporary install path.--bwrapoption: if set, EB will gather all info needed to run with bwrap.rerun_with_bwrap()function inmain.pywhich reruns EB with bwrap if--bwrapis set (and disables--bwrapfor a real installation).--experimentalflag--jobto do in follow-up PR:
requires the following easyblock PRs to work for all software: