Add Azure Linux 4 RPM support (#28021)

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-09-18 11:38:40 -05:00
1 parent 65a001aead
commit 93eadd1c91
2 files changed
+23 -7

No files matched your search

+16
View File
@@ -60,6 +60,22 @@
"PackageFormat": "PACKAGE_NAME-POWERSHELL_RELEASE-1.cm.x86_64.rpm",
"channel": "preview"
},
{
"url": "azurelinux-4.0-beta-microsoft-aarch64",
"distribution": [
"azl"
],
"PackageFormat": "PACKAGE_NAME-POWERSHELL_RELEASE-1.cm.aarch64.rpm",
"channel": "stable"
},
{
"url": "azurelinux-4.0-beta-microsoft-x86_64",
"distribution": [
"azl"
],
"PackageFormat": "PACKAGE_NAME-POWERSHELL_RELEASE-1.cm.x86_64.rpm",
"channel": "stable"
},
{
"url": "microsoft-debian-stretch-prod",
"distribution": [
+7 -7
View File
@@ -2106,20 +2106,20 @@ function Get-PackageDependencies
"libicu"
)
} elseif ($Distribution -eq 'cm') {
# Taken from the list here:
# https://github.com/dotnet/dotnet-docker/blob/d451d6e9427f58c8508f1297c862663a27eb609f/src/runtime-deps/6.0/cbl-mariner1.0/amd64/Dockerfile#L6
# Azure Linux 3 and 4 use the same .NET 11 runtime dependencies:
# https://github.com/dotnet/dotnet-docker/blob/7962e8c9336303584720344bd644287a1fe77844/src/runtime-deps/11.0/azurelinux4.0/amd64/Dockerfile
$Dependencies = @(
"ca-certificates"
"glibc"
"libgcc"
"krb5"
"libstdc++"
"zlib"
"icu"
"libgcc"
"libstdc++"
"openssl-libs"
"tzdata"
)
if($Script:Options.Runtime -like 'fx*') {
$Dependencies += @(
"dotnet-runtime-10.0"
"dotnet-runtime-11.0"
)
}
} elseif ($Distribution -eq 'macOS') {