You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added check to see if path bashrc path exists
* Add OS version-aware AMD GPU driver installation
Detect Ubuntu codename from /etc/os-release and resolve the correct
ROCm installation URL from a built-in mapping (focal->5.5, jammy->6.3.3).
This fixes BabelStream failures on Ubuntu 22.04 where ROCm 5.5's
amdgpu-dkms module fails to build on kernel 6.8.x, leaving dpkg broken
and crashing VirtualClient repeatedly.
Changes:
- Add SupportedInstallationFiles codename-to-URL mapping
- Add DetectOsVersionCodenameAsync and ResolveLinuxInstallationFile
- Add dpkg cleanup commands for broken amdgpu-dkms package state
- Fix bashrc path for root users via GetUserHomePath
- Add unit tests for codename resolution, fallback, and error cases
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix bash quoting in dpkg cleanup commands
.NET ProcessStartInfo on Linux does not handle single quotes for
argument grouping - only double quotes work. The previous bash -c
commands with single quotes caused argv to be split incorrectly,
resulting in 'unexpected EOF' errors.
Also removed 2>/dev/null redirects since stderr is captured by the
process proxy anyway.
Verified on Ubuntu 22.04 VM: dpkg cleanup runs successfully, codename
detection resolves to jammy, and ROCm 6.3.3 driver installation begins
correctly.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Alex Williams-Ferreira <alexwill@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
thrownewDependencyException($"The linux installation file can not be null or empty and it is: {this.LinuxInstallationFile}",ErrorReason.DependencyNotFound);
0 commit comments