2023-10-24 03:46:36 +00:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -eux
|
|
|
|
|
2024-08-13 14:34:34 +00:00
|
|
|
sudo dnf install -y bc
|
|
|
|
|
2023-10-24 03:46:36 +00:00
|
|
|
# Install virtme-ng
|
|
|
|
git clone https://github.com/arighi/virtme-ng.git
|
|
|
|
pushd virtme-ng
|
|
|
|
git fetch --tags
|
|
|
|
git checkout v1.8
|
|
|
|
./setup.py install --prefix=/usr
|
|
|
|
popd
|
|
|
|
|
|
|
|
# Install fluster
|
|
|
|
pushd /opt/
|
|
|
|
git clone https://github.com/fluendo/fluster.git
|
|
|
|
pushd fluster
|
|
|
|
git checkout 303a6edfda1701c8bc351909fb1173a0958810c2
|
|
|
|
./fluster.py download
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
# Build a linux image for virtme fluster tests
|
|
|
|
bash ./ci/scripts/build-linux.sh \
|
|
|
|
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git" \
|
|
|
|
"v6.5.8" \
|
|
|
|
/opt/linux/bzImage \
|
|
|
|
'MEDIA_SUPPORT' \
|
|
|
|
'MEDIA_TEST_SUPPORT' \
|
|
|
|
'V4L_TEST_DRIVERS' \
|
|
|
|
'CONFIG_VIDEO_VISL'
|