Skip to content

Commit

Permalink
build: Update repo before installation
Browse files Browse the repository at this point in the history
Signed-off-by: Zhang Tianyang <[email protected]>
  • Loading branch information
Burning1020 committed Jan 16, 2024
1 parent 311e0ed commit 838f028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vmm/scripts/image/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ install_prerequisites() {
os_distro=$ID
fi
case "${os_distro}" in
ubuntu) apt-get install -y qemu-utils parted ;;
ubuntu) apt-get update && apt-get install -y qemu-utils parted ;;
centos) yum install -y qemu-img parted ;;
euleros) yum install -y qemu-img parted ;;
openEuler) yum install -y qemu-img parted ;;
Expand Down

0 comments on commit 838f028

Please sign in to comment.