Skip to content

Commit 6e6d395

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

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
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-12
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,7 @@ make_vmm_task() {
2727
# install cmake3 because some rust modules depends on it
2828
# centos 7 install cmake 2.8 by default, has to add epel repo to install cmake3
2929
. /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
30+
yum install cmake make gcc-c++ wget
4231

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

0 commit comments

Comments
 (0)