Skip to content

Commit 2be35b7

Browse files
[net11.0] Update dependencies from dotnet/dotnet (#24833)
This pull request updates the following dependencies ## From https://github.com/dotnet/dotnet - **Subscription**: [12359e24-a8af-4571-8364-53f91576a580](https://maestro.dot.net/subscriptions?search=12359e24-a8af-4571-8364-53f91576a580) - **Build**: [20260305.10](https://dev.azure.com/dnceng/internal/_build/results?buildId=2919423) ([304778](https://maestro.dot.net/channel/8298/github:dotnet:dotnet/build/304778)) - **Date Produced**: March 5, 2026 11:40:33 PM UTC - **Commit**: [357ce6ebe894f50bdc4ffd7c26c86710789fe060](dotnet/dotnet@357ce6e) - **Branch**: [main](https://github.com/dotnet/dotnet/tree/main) - **Dependency Updates**: - From [11.0.0-preview.3.26153.109 to 11.0.0-preview.3.26155.110][2] - Microsoft.NET.Runtime.MonoTargets.Sdk - Microsoft.NET.ILLink - Microsoft.NET.ILLink.Tasks - Microsoft.NETCore.App.Ref - From [11.0.0-beta.26153.109 to 11.0.0-beta.26155.110][2] - Microsoft.DotNet.Arcade.Sdk - Microsoft.DotNet.Build.Tasks.Feed - Microsoft.DotNet.SharedFramework.Sdk - From [0.11.5-preview.26153.109 to 0.11.5-preview.26155.110][2] - Microsoft.DotNet.Cecil - From [11.0.100-preview.3.26153.109 to 11.0.100-preview.3.26155.110][2] - Microsoft.NET.Sdk - Microsoft.TemplateEngine.Authoring.Tasks [2]: dotnet/dotnet@3451f7f...357ce6e
1 parent f3b92d1 commit 2be35b7

34 files changed

Lines changed: 517 additions & 1175 deletions

dotnet/targets/Xamarin.Shared.Sdk.targets

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,8 @@
12421242
Dedup AOT image is specially handled by the AOT runtime and it is not allowed to have it marked as unusuable.
12431243
-->
12441244
<_IsDedupEnabled Condition="'$(_IsDedupEnabled)' == '' And '$(_RunAotCompiler)' == 'true' And '$(IsMacEnabled)' == 'true' And '$(TargetArchitectures)' == 'ARM64' And '$(MtouchInterpreter)' != 'all'">true</_IsDedupEnabled>
1245-
<_DedupAssembly Condition="'$(_IsDedupEnabled)' == 'true'">$(IntermediateOutputPath)aot-instances.dll</_DedupAssembly>
1245+
<_DedupAssemblyName>aot-instances</_DedupAssemblyName>
1246+
<_DedupAssembly Condition="'$(_IsDedupEnabled)' == 'true'">$(IntermediateOutputPath)$(_DedupAssemblyName).dll</_DedupAssembly>
12461247

12471248
<!-- Always link statically when using NativeAOT -->
12481249
<_LibMonoLinkMode Condition="'$(_LibMonoLinkMode)' == '' And '$(_UseNativeAot)' == 'true'">static</_LibMonoLinkMode>
@@ -1374,7 +1375,7 @@
13741375

13751376
<ItemGroup>
13761377
<ManagedAssemblyToLink Include="$(_DedupAssembly)" />
1377-
<TrimmerRootAssembly Include="$(_DedupAssembly)" />
1378+
<TrimmerRootAssembly Include="$(_DedupAssemblyName)" />
13781379
</ItemGroup>
13791380
</Target>
13801381

eng/Version.Details.props

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ This file should be imported by eng/Versions.props
66
<Project>
77
<PropertyGroup>
88
<!-- dotnet-dotnet dependencies -->
9-
<MicrosoftDotNetArcadeSdkPackageVersion>11.0.0-beta.26153.109</MicrosoftDotNetArcadeSdkPackageVersion>
10-
<MicrosoftDotNetBuildTasksFeedPackageVersion>11.0.0-beta.26153.109</MicrosoftDotNetBuildTasksFeedPackageVersion>
11-
<MicrosoftDotNetCecilPackageVersion>0.11.5-preview.26153.109</MicrosoftDotNetCecilPackageVersion>
12-
<MicrosoftDotNetSharedFrameworkSdkPackageVersion>11.0.0-beta.26153.109</MicrosoftDotNetSharedFrameworkSdkPackageVersion>
13-
<MicrosoftNETILLinkPackageVersion>11.0.0-preview.3.26153.109</MicrosoftNETILLinkPackageVersion>
14-
<MicrosoftNETILLinkTasksPackageVersion>11.0.0-preview.3.26153.109</MicrosoftNETILLinkTasksPackageVersion>
15-
<MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>11.0.0-preview.3.26153.109</MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>
16-
<MicrosoftNETSdkPackageVersion>11.0.100-preview.3.26153.109</MicrosoftNETSdkPackageVersion>
17-
<MicrosoftNETCoreAppRefPackageVersion>11.0.0-preview.3.26153.109</MicrosoftNETCoreAppRefPackageVersion>
18-
<MicrosoftTemplateEngineAuthoringTasksPackageVersion>11.0.100-preview.3.26153.109</MicrosoftTemplateEngineAuthoringTasksPackageVersion>
9+
<MicrosoftDotNetArcadeSdkPackageVersion>11.0.0-beta.26166.106</MicrosoftDotNetArcadeSdkPackageVersion>
10+
<MicrosoftDotNetBuildTasksFeedPackageVersion>11.0.0-beta.26166.106</MicrosoftDotNetBuildTasksFeedPackageVersion>
11+
<MicrosoftDotNetCecilPackageVersion>0.11.5-preview.26166.106</MicrosoftDotNetCecilPackageVersion>
12+
<MicrosoftDotNetSharedFrameworkSdkPackageVersion>11.0.0-beta.26166.106</MicrosoftDotNetSharedFrameworkSdkPackageVersion>
13+
<MicrosoftNETILLinkPackageVersion>11.0.0-preview.3.26166.106</MicrosoftNETILLinkPackageVersion>
14+
<MicrosoftNETILLinkTasksPackageVersion>11.0.0-preview.3.26166.106</MicrosoftNETILLinkTasksPackageVersion>
15+
<MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>11.0.0-preview.3.26166.106</MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>
16+
<MicrosoftNETSdkPackageVersion>11.0.100-preview.3.26166.106</MicrosoftNETSdkPackageVersion>
17+
<MicrosoftNETCoreAppRefPackageVersion>11.0.0-preview.3.26166.106</MicrosoftNETCoreAppRefPackageVersion>
18+
<MicrosoftTemplateEngineAuthoringTasksPackageVersion>11.0.100-preview.3.26166.106</MicrosoftTemplateEngineAuthoringTasksPackageVersion>
1919
<!-- dotnet-macios dependencies -->
2020
<MicrosoftiOSSdknet100_260PackageVersion>26.0.11017</MicrosoftiOSSdknet100_260PackageVersion>
2121
<MicrosoftiOSSdknet100_262PackageVersion>26.2.10223</MicrosoftiOSSdknet100_262PackageVersion>

eng/Version.Details.xml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
<Dependencies>
22
<ProductDependencies>
3-
<Dependency Name="Microsoft.NET.Sdk" Version="11.0.100-preview.3.26153.109">
3+
<Dependency Name="Microsoft.NET.Sdk" Version="11.0.100-preview.3.26166.106">
44
<Uri>https://github.com/dotnet/dotnet</Uri>
5-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
5+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
66
</Dependency>
7-
<Dependency Name="Microsoft.NET.ILLink" Version="11.0.0-preview.3.26153.109">
7+
<Dependency Name="Microsoft.NET.ILLink" Version="11.0.0-preview.3.26166.106">
88
<Uri>https://github.com/dotnet/dotnet</Uri>
9-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
9+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
1010
</Dependency>
11-
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="11.0.0-preview.3.26153.109">
11+
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="11.0.0-preview.3.26166.106">
1212
<Uri>https://github.com/dotnet/dotnet</Uri>
13-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
13+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
1414
</Dependency>
15-
<Dependency Name="Microsoft.NET.Runtime.MonoTargets.Sdk" Version="11.0.0-preview.3.26153.109">
15+
<Dependency Name="Microsoft.NET.Runtime.MonoTargets.Sdk" Version="11.0.0-preview.3.26166.106">
1616
<Uri>https://github.com/dotnet/dotnet</Uri>
17-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
17+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
1818
</Dependency>
1919
<!-- Set TRACKING_DOTNET_RUNTIME_SEPARATELY to something in Make.config if changing the version outside of dependency flow -->
20-
<Dependency Name="Microsoft.NETCore.App.Ref" Version="11.0.0-preview.3.26153.109">
20+
<Dependency Name="Microsoft.NETCore.App.Ref" Version="11.0.0-preview.3.26166.106">
2121
<Uri>https://github.com/dotnet/dotnet</Uri>
22-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
22+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
2323
</Dependency>
24-
<Dependency Name="Microsoft.DotNet.Cecil" Version="0.11.5-preview.26153.109">
24+
<Dependency Name="Microsoft.DotNet.Cecil" Version="0.11.5-preview.26166.106">
2525
<Uri>https://github.com/dotnet/dotnet</Uri>
26-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
26+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
2727
</Dependency>
2828
<!-- This is a subscription of the .NET 10/Xcode 26.0 versions of our packages -->
2929
<Dependency Name="Microsoft.MacCatalyst.Sdk.net10.0_26.0" Version="26.0.11017">
@@ -61,25 +61,25 @@
6161
</Dependency>
6262
</ProductDependencies>
6363
<ToolsetDependencies>
64-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="11.0.0-beta.26153.109">
64+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="11.0.0-beta.26166.106">
6565
<Uri>https://github.com/dotnet/dotnet</Uri>
66-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
66+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
6767
</Dependency>
68-
<Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="11.0.0-beta.26153.109">
68+
<Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="11.0.0-beta.26166.106">
6969
<Uri>https://github.com/dotnet/dotnet</Uri>
70-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
70+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
7171
</Dependency>
72-
<Dependency Name="Microsoft.TemplateEngine.Authoring.Tasks" Version="11.0.100-preview.3.26153.109">
72+
<Dependency Name="Microsoft.TemplateEngine.Authoring.Tasks" Version="11.0.100-preview.3.26166.106">
7373
<Uri>https://github.com/dotnet/dotnet</Uri>
74-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
74+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
7575
</Dependency>
7676
<Dependency Name="Microsoft.DotNet.XHarness.iOS.Shared" Version="10.0.0-prerelease.25516.4">
7777
<Uri>https://github.com/dotnet/xharness</Uri>
7878
<Sha>88399512021dfa8b5f45d91f84c8ce6f0959b127</Sha>
7979
</Dependency>
80-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.26153.109">
80+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.26166.106">
8181
<Uri>https://github.com/dotnet/dotnet</Uri>
82-
<Sha>3451f7f9d9c3c10f9a8e623985e573b2ff4d3361</Sha>
82+
<Sha>435654e5061825b16b8a45ae7250cdb849a0ecdd</Sha>
8383
<SourceBuild RepoName="arcade" ManagedOnly="true" />
8484
</Dependency>
8585
</ToolsetDependencies>

eng/common/core-templates/jobs/codeql-build.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

eng/common/core-templates/post-build/post-build.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,6 @@ parameters:
5050
type: boolean
5151
default: false
5252

53-
- name: SDLValidationParameters
54-
type: object
55-
default:
56-
enable: false
57-
publishGdn: false
58-
continueOnError: false
59-
params: ''
60-
artifactNames: ''
61-
downloadArtifacts: true
62-
6353
- name: isAssetlessBuild
6454
type: boolean
6555
displayName: Is Assetless Build
@@ -103,7 +93,7 @@ parameters:
10393
default: false
10494

10595
stages:
106-
- ${{ if or(eq( parameters.enableNugetValidation, 'true'), eq(parameters.enableSigningValidation, 'true'), eq(parameters.enableSourceLinkValidation, 'true'), eq(parameters.SDLValidationParameters.enable, 'true')) }}:
96+
- ${{ if or(eq( parameters.enableNugetValidation, 'true'), eq(parameters.enableSigningValidation, 'true'), eq(parameters.enableSourceLinkValidation, 'true')) }}:
10797
- stage: Validate
10898
dependsOn: ${{ parameters.validateDependsOn }}
10999
displayName: Validate Build Assets
@@ -206,7 +196,7 @@ stages:
206196
displayName: Validate
207197
inputs:
208198
filePath: eng\common\sdk-task.ps1
209-
arguments: -task SigningValidation -restore -msbuildEngine vs
199+
arguments: -task SigningValidation -restore
210200
/p:PackageBasePath='$(Build.ArtifactStagingDirectory)/PackageArtifacts'
211201
/p:SignCheckExclusionsFile='$(System.DefaultWorkingDirectory)/eng/SignCheckExclusionsFile.txt'
212202
${{ parameters.signingValidationAdditionalParameters }}
@@ -268,7 +258,7 @@ stages:
268258

269259
- ${{ if ne(parameters.publishAssetsImmediately, 'true') }}:
270260
- stage: publish_using_darc
271-
${{ if or(eq(parameters.enableNugetValidation, 'true'), eq(parameters.enableSigningValidation, 'true'), eq(parameters.enableSourceLinkValidation, 'true'), eq(parameters.SDLValidationParameters.enable, 'true')) }}:
261+
${{ if or(eq(parameters.enableNugetValidation, 'true'), eq(parameters.enableSigningValidation, 'true'), eq(parameters.enableSourceLinkValidation, 'true')) }}:
272262
dependsOn: ${{ parameters.publishDependsOn }}
273263
${{ else }}:
274264
dependsOn: ${{ parameters.validateDependsOn }}

eng/common/core-templates/stages/renovate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ extends:
7676
- stage: Renovate
7777
displayName: Run Renovate
7878
jobs:
79-
- template: /eng/common/core-templates/job/renovate.yml@self
79+
- template: /eng/common/core-templates/job/renovate.yml
8080
parameters:
8181
renovateConfigPath: ${{ parameters.renovateConfigPath }}
8282
gitHubRepo: ${{ parameters.gitHubRepo }}

eng/common/core-templates/steps/install-microbuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ steps:
7373
# YAML expansion, and Windows vs. Linux/Mac uses different service connections. However,
7474
# we can avoid including the MB install step if not enabled at all. This avoids a bunch of
7575
# extra pipeline authorizations, since most pipelines do not sign on non-Windows.
76-
- template: /eng/common/core-templates/steps/install-microbuild-impl.yml@self
76+
- template: /eng/common/core-templates/steps/install-microbuild-impl.yml
7777
parameters:
7878
enablePreviewMicrobuild: ${{ parameters.enablePreviewMicrobuild }}
7979
microbuildTaskInputs:
@@ -95,7 +95,7 @@ steps:
9595
condition: and(succeeded(), eq(variables['Agent.Os'], 'Windows_NT'), in(variables['_SignType'], 'real', 'test'))
9696

9797
- ${{ if eq(parameters.enableMicrobuildForMacAndLinux, true) }}:
98-
- template: /eng/common/core-templates/steps/install-microbuild-impl.yml@self
98+
- template: /eng/common/core-templates/steps/install-microbuild-impl.yml
9999
parameters:
100100
enablePreviewMicrobuild: ${{ parameters.enablePreviewMicrobuild }}
101101
microbuildTaskInputs:

eng/common/cross/build-rootfs.sh

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ usage()
99
echo "CodeName - optional, Code name for Linux, can be: xenial(default), zesty, bionic, alpine"
1010
echo " for alpine can be specified with version: alpineX.YY or alpineedge"
1111
echo " for FreeBSD can be: freebsd13, freebsd14"
12+
echo " for OpenBSD can be: openbsd"
1213
echo " for illumos can be: illumos"
1314
echo " for Haiku can be: haiku."
1415
echo "lldbx.y - optional, LLDB version, can be: lldb3.9(default), lldb4.0, lldb5.0, lldb6.0 no-lldb. Ignored for alpine and FreeBSD"
@@ -27,6 +28,8 @@ __BuildArch=arm
2728
__AlpineArch=armv7
2829
__FreeBSDArch=arm
2930
__FreeBSDMachineArch=armv7
31+
__OpenBSDArch=arm
32+
__OpenBSDMachineArch=armv7
3033
__IllumosArch=arm7
3134
__HaikuArch=arm
3235
__QEMUArch=arm
@@ -82,6 +85,12 @@ __FreeBSDPackages+=" openssl"
8285
__FreeBSDPackages+=" krb5"
8386
__FreeBSDPackages+=" terminfo-db"
8487

88+
__OpenBSDVersion="7.8"
89+
__OpenBSDPackages="heimdal-libs"
90+
__OpenBSDPackages+=" icu4c"
91+
__OpenBSDPackages+=" inotify-tools"
92+
__OpenBSDPackages+=" openssl"
93+
8594
__IllumosPackages="icu"
8695
__IllumosPackages+=" mit-krb5"
8796
__IllumosPackages+=" openssl"
@@ -160,6 +169,8 @@ while :; do
160169
__QEMUArch=aarch64
161170
__FreeBSDArch=arm64
162171
__FreeBSDMachineArch=aarch64
172+
__OpenBSDArch=arm64
173+
__OpenBSDMachineArch=aarch64
163174
;;
164175
armel)
165176
__BuildArch=armel
@@ -235,6 +246,8 @@ while :; do
235246
__UbuntuArch=amd64
236247
__FreeBSDArch=amd64
237248
__FreeBSDMachineArch=amd64
249+
__OpenBSDArch=amd64
250+
__OpenBSDMachineArch=amd64
238251
__illumosArch=x86_64
239252
__HaikuArch=x86_64
240253
__UbuntuRepo="http://archive.ubuntu.com/ubuntu/"
@@ -385,6 +398,10 @@ while :; do
385398
__FreeBSDABI="14"
386399
__SkipUnmount=1
387400
;;
401+
openbsd)
402+
__CodeName=openbsd
403+
__SkipUnmount=1
404+
;;
388405
illumos)
389406
__CodeName=illumos
390407
__SkipUnmount=1
@@ -593,6 +610,62 @@ elif [[ "$__CodeName" == "freebsd" ]]; then
593610
INSTALL_AS_USER=$(whoami) "$__RootfsDir"/host/sbin/pkg -r "$__RootfsDir" -C "$__RootfsDir"/usr/local/etc/pkg.conf update
594611
# shellcheck disable=SC2086
595612
INSTALL_AS_USER=$(whoami) "$__RootfsDir"/host/sbin/pkg -r "$__RootfsDir" -C "$__RootfsDir"/usr/local/etc/pkg.conf install --yes $__FreeBSDPackages
613+
elif [[ "$__CodeName" == "openbsd" ]]; then
614+
# determine mirrors
615+
OPENBSD_MIRROR="https://cdn.openbsd.org/pub/OpenBSD/$__OpenBSDVersion/$__OpenBSDMachineArch"
616+
617+
# download base system sets
618+
ensureDownloadTool
619+
620+
BASE_SETS=(base comp)
621+
for set in "${BASE_SETS[@]}"; do
622+
FILE="${set}${__OpenBSDVersion//./}.tgz"
623+
echo "Downloading $FILE..."
624+
if [[ "$__hasWget" == 1 ]]; then
625+
wget -O- "$OPENBSD_MIRROR/$FILE" | tar -C "$__RootfsDir" -xzpf -
626+
else
627+
curl -SL "$OPENBSD_MIRROR/$FILE" | tar -C "$__RootfsDir" -xzpf -
628+
fi
629+
done
630+
631+
PKG_MIRROR="https://cdn.openbsd.org/pub/OpenBSD/${__OpenBSDVersion}/packages/${__OpenBSDMachineArch}"
632+
633+
echo "Installing packages into sysroot..."
634+
635+
# Fetch package index once
636+
if [[ "$__hasWget" == 1 ]]; then
637+
PKG_INDEX=$(wget -qO- "$PKG_MIRROR/")
638+
else
639+
PKG_INDEX=$(curl -s "$PKG_MIRROR/")
640+
fi
641+
642+
for pkg in $__OpenBSDPackages; do
643+
PKG_FILE=$(echo "$PKG_INDEX" | grep -Po ">\K${pkg}-[0-9][^\" ]*\.tgz" \
644+
| sort -V | tail -n1)
645+
646+
echo "Resolved package filename for $pkg: $PKG_FILE"
647+
648+
[[ -z "$PKG_FILE" ]] && { echo "ERROR: Package $pkg not found"; exit 1; }
649+
650+
if [[ "$__hasWget" == 1 ]]; then
651+
wget -O- "$PKG_MIRROR/$PKG_FILE" | tar -C "$__RootfsDir" -xzpf -
652+
else
653+
curl -SL "$PKG_MIRROR/$PKG_FILE" | tar -C "$__RootfsDir" -xzpf -
654+
fi
655+
done
656+
657+
echo "Creating versionless symlinks for shared libraries..."
658+
# Find all versioned .so files and create the base .so symlink
659+
for lib in "$__RootfsDir/usr/lib/libc++.so."* "$__RootfsDir/usr/lib/libc++abi.so."* "$__RootfsDir/usr/lib/libpthread.so."*; do
660+
if [ -f "$lib" ]; then
661+
# Extract the filename (e.g., libc++.so.12.0)
662+
VERSIONED_NAME=$(basename "$lib")
663+
# Remove the trailing version numbers (e.g., libc++.so)
664+
BASE_NAME=${VERSIONED_NAME%.so.*}.so
665+
# Create the symlink in the same directory
666+
ln -sf "$VERSIONED_NAME" "$__RootfsDir/usr/lib/$BASE_NAME"
667+
fi
668+
done
596669
elif [[ "$__CodeName" == "illumos" ]]; then
597670
mkdir "$__RootfsDir/tmp"
598671
pushd "$__RootfsDir/tmp"

0 commit comments

Comments
 (0)