Skip to content

fix: keep detection ahead of an unsafe override - #181

Merged
HaoZeke merged 1 commit into
developfrom
fix/unsafe-override-detect
Nov 27, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/unsafe-override-detect

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

fix: keep detection ahead of an unsafe override

Detection runs eessi_archdetect.sh. When
EESSI_SOFTWARE_SUBDIR_OVERRIDE is set, that script prints it and
exits. The guard refuses some values as a pin, but it still passed
them into the probe. Such a value then replaced the CPU target that
detection would have chosen.

The probe now drops that variable. An empty value is left alone.
A safe installed pin still skips before the probe.

Detection runs `eessi_archdetect.sh`. When
`EESSI_SOFTWARE_SUBDIR_OVERRIDE` is set, that script prints it and
exits. The guard refuses some values as a pin, but it still passed
them into the probe. Such a value then replaced the CPU target that
detection would have chosen.

The probe now drops that variable. An empty value is left alone.
A safe installed pin still skips before the probe.
@HaoZeke
HaoZeke merged commit 2b2439c into develop Nov 27, 2026
26 checks passed
@HaoZeke
HaoZeke deleted the fix/unsafe-override-detect branch November 27, 2026 07:53
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