Skip to content

Commit 9b482a2

Browse files
committed
building: update guest image to fedora:40
Signed-off-by: Zhang Tianyang <[email protected]>
1 parent af8c8d8 commit 9b482a2

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
steps:
3838
- uses: actions/checkout@v3
3939
- name: Build vm image
40-
run: sudo make bin/kuasar.img RUNTIME=docker
40+
run: sudo make bin/kuasar.img RUNTIME=docker IMAGE_NAME=registry.fedoraproject.org/fedora:40
4141
- name: Upload Artifacts
4242
uses: actions/upload-artifact@v3
4343
with:

vmm/scripts/image/centos/build_rootfs.sh

+1-14
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,8 @@ ARCH=$(uname -m)
2424
make_vmm_task() {
2525
local repo_dir="$1"
2626

27-
# install cmake3 because some rust modules depends on it
28-
# centos 7 install cmake 2.8 by default, has to add epel repo to install cmake3
2927
. /etc/os-release
30-
if [ ${VERSION_ID} -le 7 ]; then
31-
yum install -y epel-release
32-
yum install -y cmake3 make gcc gcc-c++ wget
33-
rm -f /usr/bin/cmake
34-
ln -s /usr/bin/cmake3 /usr/bin/cmake
35-
else
36-
# CentOS Linux 8 had reached the End Of Life (EOL) on December 31st, 2021. It means that CentOS 8 will no longer receive development resources from the official CentOS project. After Dec 31st, 2021, if you need to update your CentOS, you need to change the mirrors to vault.centos.org where they will be archived permanently. Alternatively, you may want to upgrade to CentOS Stream.
37-
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
38-
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
39-
yum clean all
40-
yum install cmake make gcc-c++ wget
41-
fi
28+
yum install -y cmake make gcc-c++ wget
4229

4330
# update cert file under internal proxy scenario
4431
if [ -f "${cert_file_path}" ]; then

0 commit comments

Comments
 (0)