Skip to content

Commit

Permalink
tests/vm/openbsd: Use the system dtc package
Browse files Browse the repository at this point in the history
We can use the pre-packaged libfdt from the dtc package to avoid
that we have to compile this code each time again and again.

While we're at it, the "--python=python3" does not seemt to be
necessary anymore, so we can drop it.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20231016154049.37147-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231029145033.592566-2-alex.bennee@linaro.org>
  • Loading branch information
huth authored and stsquad committed Oct 31, 2023
1 parent 516fffc commit 05c223c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/vm/openbsd
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class OpenBSDVM(basevm.BaseVM):
size = "20G"
pkgs = [
# tools
"dtc",
"git",
"pkgconf",
"bzip2", "xz",
Expand Down Expand Up @@ -67,8 +68,9 @@ class OpenBSDVM(basevm.BaseVM):
cd $(mktemp -d /home/qemu/qemu-test.XXXXXX);
mkdir src build; cd src;
tar -xf /dev/rsd1c;
cd ../build
../src/configure --cc=cc --python=python3 {configure_opts};
cd ../build;
../src/configure --cc=cc --extra-cflags=-I/usr/local/include \
--extra-ldflags=-L/usr/local/lib {configure_opts};
gmake --output-sync -j{jobs} {target} {verbose};
"""
poweroff = "halt -p"
Expand Down

0 comments on commit 05c223c

Please sign in to comment.