Skip to content

Commit ea25de8

Browse files
committed
scripts: Always download CH binary
The aarch64 builds are not run in a clean environment so always download a new version of CH otherwise updates to the version will not be reflected in the version used by the CI. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
1 parent afa129c commit ea25de8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

scripts/fetch_images.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ fetch_ch() {
1111
[ "$CH_ARCH" = "x86_64" ] && CH_NAME="cloud-hypervisor"
1212
CH_URL="$CH_URL_BASE/$CH_NAME"
1313

14-
if [ ! -f "$CH_PATH" ]; then
15-
wget --quiet $CH_URL -O $CH_PATH
16-
chmod +x $CH_PATH
17-
sudo setcap cap_net_admin+ep $CH_PATH
18-
fi
14+
wget --quiet $CH_URL -O $CH_PATH
15+
chmod +x $CH_PATH
16+
sudo setcap cap_net_admin+ep $CH_PATH
1917
}
2018

2119
fetch_image() {

0 commit comments

Comments
 (0)