@@ -17,28 +17,29 @@ update_fresh_container() {
17
17
}
18
18
19
19
setup_dotnet_sdk () {
20
- MIRROR=" https://mirror.lchs.network/pub/almalinux/9.3 /AppStream/${ARCH} /os/Packages"
20
+ MIRROR=" https://mirror.lchs.network/pub/almalinux/9/AppStream/${ARCH} /os/Packages"
21
21
case " ${SDK} " in
22
22
7)
23
- PKGS=" dotnet-apphost-pack-7.0-7.0.15 -1.el9_3 dotnet-host-8.0.1 -1.el9_3 "
24
- PKGS=" ${PKGS} dotnet-hostfxr-7.0-7.0.15 -1.el9_3 dotnet-targeting-pack-7.0-7.0.15 -1.el9_3 "
25
- PKGS=" ${PKGS} dotnet-templates-7.0-7.0.115 -1.el9_3 dotnet-runtime-7.0-7.0.15 -1.el9_3 "
26
- PKGS=" ${PKGS} dotnet-sdk-7.0-7.0.115 -1.el9_3 aspnetcore-runtime-7.0-7.0.15 -1.el9_3 "
27
- PKGS=" ${PKGS} aspnetcore-targeting-pack-7.0-7.0.15 -1.el9_3 netstandard-targeting-pack-2.1-8.0.101 -1.el9_3 "
23
+ PKGS=" dotnet-apphost-pack-7.0-7.0.19 -1.el9_4 dotnet-host-8.0.5 -1.el9_4 "
24
+ PKGS=" ${PKGS} dotnet-hostfxr-7.0-7.0.19 -1.el9_4 dotnet-targeting-pack-7.0-7.0.19 -1.el9_4 "
25
+ PKGS=" ${PKGS} dotnet-templates-7.0-7.0.119 -1.el9_4 dotnet-runtime-7.0-7.0.19 -1.el9_4 "
26
+ PKGS=" ${PKGS} dotnet-sdk-7.0-7.0.119 -1.el9_4 aspnetcore-runtime-7.0-7.0.19 -1.el9_4 "
27
+ PKGS=" ${PKGS} aspnetcore-targeting-pack-7.0-7.0.19 -1.el9_4 netstandard-targeting-pack-2.1-8.0.105 -1.el9_4 "
28
28
;;
29
29
6)
30
- PKGS=" dotnet-host-8.0.1 -1.el9_3 dotnet-apphost-pack-6.0-6.0.26 -1.el9_3 "
31
- PKGS=" ${PKGS} dotnet-hostfxr-6.0-6.0.26 -1.el9_3 dotnet-targeting-pack-6.0-6.0.26 -1.el9_3 "
32
- PKGS=" ${PKGS} dotnet-templates-6.0-6.0.126 -1.el9_3 dotnet-runtime-6.0-6.0.26 -1.el9_3 "
33
- PKGS=" ${PKGS} dotnet-sdk-6.0-6.0.126 -1.el9_3 aspnetcore-runtime-6.0-6.0.26 -1.el9_3 "
34
- PKGS=" ${PKGS} aspnetcore-targeting-pack-6.0-6.0.26 -1.el9_3 netstandard-targeting-pack-2.1-8.0.101 -1.el9_3 "
30
+ PKGS=" dotnet-host-8.0.5 -1.el9_4 dotnet-apphost-pack-6.0-6.0.30 -1.el9_4 "
31
+ PKGS=" ${PKGS} dotnet-hostfxr-6.0-6.0.30 -1.el9_4 dotnet-targeting-pack-6.0-6.0.30 -1.el9_4 "
32
+ PKGS=" ${PKGS} dotnet-templates-6.0-6.0.130 -1.el9_4 dotnet-runtime-6.0-6.0.30 -1.el9_4 "
33
+ PKGS=" ${PKGS} dotnet-sdk-6.0-6.0.130 -1.el9_4 aspnetcore-runtime-6.0-6.0.30 -1.el9_4 "
34
+ PKGS=" ${PKGS} aspnetcore-targeting-pack-6.0-6.0.30 -1.el9_4 netstandard-targeting-pack-2.1-8.0.105 -1.el9_4 "
35
35
;;
36
36
* )
37
37
echo " Unsupported architecture ${ARCH} " >&2
38
38
return 1
39
39
;;
40
40
esac
41
41
echo " Retrieving dotnet packages"
42
+ sudo sed -i' ' -e ' s/--no-absolute-filenames//' /usr/share/perl5/Alien/Package/Rpm.pm
42
43
pushd /tmp > /dev/null
43
44
for pkg in ${PKGS}
44
45
do
@@ -87,6 +88,7 @@ patch_runner() {
87
88
cd runner
88
89
git checkout $( git describe --tags $( git rev-list --tags --max-count=1) ) -b ${ARCH}
89
90
git apply /home/ubuntu/runner-${ARCH} .patch
91
+ sed -i' ' -e /version/s/6......\" $/${SDK} .0.100\" / src/global.json
90
92
return $?
91
93
}
92
94
0 commit comments