Repository navigation
Remove locale.alias from install-dependencies.sh - #17715
Merged
Merged
Conversation
It no longer exists in recent Ubuntu versions and we actually didn't need it. We made the same change in https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1492/changes Found in dotnet/runtime#136336
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The single-line change preserves the requested locale and encoding while removing an unnecessary file dependency.
No open issues 🎉
What changed in this PR
This PR updates Arcade’s native dependency installer to avoid relying on locale.alias, which is absent on recent Ubuntu versions.
Changes:
- Removes the alias-file argument from
localedefwhile preserving theen_USinput, UTF-8 encoding, anden_US.UTF-8output.
| File | Description |
|---|---|
eng/common/native/install-dependencies.sh |
Removes the unnecessary locale alias-file dependency. |
Review effort: Balanced
akoeplinger
enabled auto-merge (squash)
October 23, 2026 16:54
akoeplinger
pushed a commit
to dotnet/runtime
that referenced
this pull request
Oct 27, 2026
<!-- --> ## Summary Move the standard and libraries devcontainers to Ubuntu 26.04 (`11.0-resolute`), retaining ARM64/AMD64 image selection. Repository SDK pins and target frameworks are unchanged. - Reuse the checked-out dependency installer instead of duplicating its package list or downloading scripts from `main`. Both configurations use the repository root as their build context. - Mirror the merged [dotnet/arcade#17715](dotnet/arcade#17715) fix: generate `en_US.UTF-8` without the removed `locale.alias` file. - Preserve existing features, the `vscode` user, and repository-local `.dotnet` precedence. Skip the libraries prebuild reset locally while retaining Codespaces behavior. - Keep local ARM64 documentation concise, without repeating image versions or standard repository behavior. ## Local verification - **Review follow-up:** rebuilt both complete devcontainer images on native Linux ARM64. Verified all native prerequisites, UTF-8 locale generation without `locale.alias`, helper cleanup, and six mocked lifecycle-dispatch cases. Shell syntax and whitespace checks passed. - **Initial validation:** both configurations started with their lifecycle hooks; native runtime/libraries builds and libraries test restore passed. A representative library smoke run passed **15 tests, with no failures or skips**, on the repository-built ARM64 runtime. Full runtime builds and smoke tests were not repeated for this installer/documentation follow-up. AMD64 execution, hosted Codespaces, and Helix remain unvalidated. This covers only the standard/libraries portion of D1; Android and both Wasm configurations remain deferred. It does not complete D1 or close the tracking issue. Related to #136313. > [!NOTE] > Prepared with GitHub Copilot assistance. --------- Co-authored-by: Copilot App <[email protected]> Copilot-Session: 32fb1e95-a9a4-4d35-b4ef-9c6ff2a84b95
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

It no longer exists in recent Ubuntu versions and we actually didn't need it. We made the same change in https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1492/changes
Found in dotnet/runtime#136336
To double check: