Skip to content

add defaults for compat layer variant symlinks#270

Open
bedroge wants to merge 2 commits into
EESSI:mainfrom
bedroge:compat_synmlinks_defaults
Open

add defaults for compat layer variant symlinks#270
bedroge wants to merge 2 commits into
EESSI:mainfrom
bedroge:compat_synmlinks_defaults

Conversation

@bedroge
Copy link
Copy Markdown
Collaborator

@bedroge bedroge commented Jun 2, 2026

Accompanying PR for EESSI/compatibility-layer#235, this creates the defaults symlinks for compat layer variant symlinks.

As an example, we get this structure:

/cvmfs/software.eessi.io/versions/2026.06/compat/linux/x86_64/etc/hosts
-> 
'$(EESSI_202606_COMPAT_ETC_HOSTS):-/cvmfs/software.eessi.io/defaults/compat/etc/hosts'
->
'$(EESSI_COMPAT_ETC_HOSTS):-/etc/hosts'

I.e., by default every symlink will point to the same file on the host, but you can override the default (i.e. for all EESSI versions) or per version.

Comment on lines 37 to +38
defaults/override: '$(EESSI_LIB_OVERRIDE_DEFAULT:-/dev/null)'
defaults/compat/etc/ethers: '$(EESSI_COMPAT_ETC_ETHERS:-/etc/ethers)'
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these compat variables also have _DEFAULT, i.e. EESSI_COMPAT_ETC_ETHERS_DEFAULT? I figured the name would be clear enough without it, it's already in a defaults directory anyway, but for consistency we could add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant