Skip to content

cvmfs_customizations option is broken #367

@bedroge

Description

@bedroge

The buildenv section (see https://github.com/EESSI/eessi-bot-software-layer?tab=readme-ov-file#buildenv-section) has a parameter cvmfs_customizations that should allow you to override CVMFS options. However, this seems completely broken at the moment. There's a function apply_cvmfs_customizations (https://github.com/EESSI/eessi-bot-software-layer/blob/develop/tasks/build.py#L516) that should handle this, but it's not being called anywhere in the code.

I've tried a quick fix by adding the following to this line:

            apply_cvmfs_customizations(build_env_cfg[config.BUILDENV_SETTING_CVMFS_CUSTOMIZATIONS], job_dir)

Now it does at least something, it generated a file default.local in the job dir with the expected contents based on my settings:

cvmfs_customizations = { "/etc/cvmfs/default.local": "EESSI_NVIDIA_OVERRIDE_DEFAULT=/scratch/f118536/shared/nvidia"}

However, it still does not seem to use it in any way. I couldn't figure out in the code how this is supposed to work, I suspect it would have to merge it with the default config file from the repos cfg bundle?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions