mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-01 17:35:19 +00:00
scripts: Ensure to rebuild custom kernel for bare-metal tests
Tests of rate-limiter and vfio are running on bare-metal, so we need to ensure the custom kernel is updated and rebuilt for them. Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
9421884334
commit
325e62372d
@ -45,11 +45,7 @@ if [ $? -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Build custom kernel based on virtio-pmem and virtio-fs upstream patches
|
build_custom_linux
|
||||||
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux"
|
|
||||||
if [ ! -f "$VMLINUX_IMAGE" ]; then
|
|
||||||
build_custom_linux
|
|
||||||
fi
|
|
||||||
|
|
||||||
BUILD_TARGET="$(uname -m)-unknown-linux-${CH_LIBC}"
|
BUILD_TARGET="$(uname -m)-unknown-linux-${CH_LIBC}"
|
||||||
CFLAGS=""
|
CFLAGS=""
|
||||||
|
@ -12,9 +12,7 @@ FOCAL_OS_IMAGE="$WORKLOADS_DIR/$FOCAL_OS_IMAGE_NAME"
|
|||||||
FW="$WORKLOADS_DIR/hypervisor-fw"
|
FW="$WORKLOADS_DIR/hypervisor-fw"
|
||||||
|
|
||||||
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux"
|
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux"
|
||||||
if [ ! -f "$VMLINUX_IMAGE" ]; then
|
build_custom_linux
|
||||||
build_custom_linux
|
|
||||||
fi
|
|
||||||
|
|
||||||
BLK_IMAGE="$WORKLOADS_DIR/blk.img"
|
BLK_IMAGE="$WORKLOADS_DIR/blk.img"
|
||||||
MNT_DIR="mount_image"
|
MNT_DIR="mount_image"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user