Fix symbolic links on Debian 10 packages (#11474)
This commit is contained in:
parent
f22bad1d58
commit
0b97d6d5cf
@ -502,6 +502,7 @@ Fix steps:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($Environment.IsRedHatFamily -or $Environment.IsDebian) {
|
if ($Environment.IsRedHatFamily -or $Environment.IsDebian) {
|
||||||
|
# Symbolic links added here do NOT affect packaging as we do not build on Debian.
|
||||||
# add two symbolic links to system shared libraries that libmi.so is dependent on to handle
|
# add two symbolic links to system shared libraries that libmi.so is dependent on to handle
|
||||||
# platform specific changes. This is the only set of platforms needed for this currently
|
# platform specific changes. This is the only set of platforms needed for this currently
|
||||||
# as Ubuntu has these specific library files in the platform and macOS builds for itself
|
# as Ubuntu has these specific library files in the platform and macOS builds for itself
|
||||||
|
@ -1261,11 +1261,11 @@ function New-AfterScripts
|
|||||||
# add two symbolic links to system shared libraries that libmi.so is dependent on to handle
|
# add two symbolic links to system shared libraries that libmi.so is dependent on to handle
|
||||||
# platform specific changes. This appears to be a change in Debian 9; Debian 8 did not need these
|
# platform specific changes. This appears to be a change in Debian 9; Debian 8 did not need these
|
||||||
# symlinks.
|
# symlinks.
|
||||||
'debian\.(9|10)' {
|
'debian\.9' {
|
||||||
New-Item -Force -ItemType SymbolicLink -Target "/usr/lib/x86_64-linux-gnu/libssl.so.1.0.2" -Path "$Staging/libssl.so.1.0.0" > $null
|
New-Item -Force -ItemType SymbolicLink -Target "/usr/lib/x86_64-linux-gnu/libssl.so.1.0.2" -Path "$Staging/libssl.so.1.0.0" > $null
|
||||||
New-Item -Force -ItemType SymbolicLink -Target "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2" -Path "$Staging/libcrypto.so.1.0.0" > $null
|
New-Item -Force -ItemType SymbolicLink -Target "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2" -Path "$Staging/libcrypto.so.1.0.0" > $null
|
||||||
}
|
}
|
||||||
'debian\.11' {
|
'debian\.(10|11)' {
|
||||||
New-Item -Force -ItemType SymbolicLink -Target "/usr/lib/x86_64-linux-gnu/libssl.so.1.1" -Path "$Staging/libssl.so.1.0.0" > $null
|
New-Item -Force -ItemType SymbolicLink -Target "/usr/lib/x86_64-linux-gnu/libssl.so.1.1" -Path "$Staging/libssl.so.1.0.0" > $null
|
||||||
New-Item -Force -ItemType SymbolicLink -Target "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1" -Path "$Staging/libcrypto.so.1.0.0" > $null
|
New-Item -Force -ItemType SymbolicLink -Target "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1" -Path "$Staging/libcrypto.so.1.0.0" > $null
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user