Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
ci/setup: install driverctl/pciutils on Fedora/Ubuntu
Browse files Browse the repository at this point in the history
The commit a043363 introduced improvements to the vfio
functional test which now requires the driverctl tool. The
driverctl package is installed in the host via .ci/vfio_jenkins_job_build.sh,
but that script is never called by the .ci/setup.sh; as a result, the
package isn't installed when I run the Vagrant-based job locally.

This commit adds the driverctl (also pciutils) to the list of packages
installed in the host Fedora and Ubuntu.

Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm committed Oct 25, 2021
1 parent b813d5d commit a3d903a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/setup_env_fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ declare -A packages=( \
[redis]="redis" \
[versionlock]="python3-dnf-plugin-versionlock" \
[agent_shutdown_test]="tmux" \
[vfio_test]="pciutils driverctl" \
)

if [ "$(uname -m)" == "x86_64" ] || ([ "$(uname -m)" == "ppc64le" ] && [ "${VERSION_ID}" -ge "32" ]); then
Expand Down
1 change: 1 addition & 0 deletions .ci/setup_env_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ declare -A packages=( \
[libsystemd]="libsystemd-dev" \
[redis]="redis-server" \
[agent_shutdown_test]="tmux" \
[vfio_test]="pciutils driverctl" \
)

if [ "${NAME}" == "Ubuntu" ] && [ "$(echo "${VERSION_ID} >= 20.04" | bc -q)" == "1" ]; then
Expand Down

0 comments on commit a3d903a

Please sign in to comment.