From: Anthony PERARD Date: Thu, 8 Jun 2023 15:04:41 +0000 (+0100) Subject: ts-xen-build-prep: Change package selection for Bookworm X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b1d21cb338e309fc3b88a17037a2d8a852b2f344;p=osstest.git ts-xen-build-prep: Change package selection for Bookworm python-dev: It doesn't exist on bookworm, and python2 shouldn't be needed anymore. libsdl-dev: On buster this already select "libsdl1.2-dev", but to not change buster installation we will only use the new package name on Bookworm. Signed-off-by: Anthony PERARD Acked-by: Roger Pau Monné --- diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 547bbc1..48d3fb7 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -200,9 +200,9 @@ sub prep () { my @packages = qw(mercurial rsync figlet build-essential bin86 bcc iasl bc flex bison cmake ninja-build meson - libpci-dev libncurses5-dev libssl-dev python-dev + libpci-dev libncurses5-dev libssl-dev libx11-dev git-core uuid-dev gettext gawk - libsdl-dev libyajl-dev libaio-dev libpixman-1-dev + libyajl-dev libaio-dev libpixman-1-dev libglib2.0-dev liblzma-dev pkg-config autoconf automake libtool xsltproc libxml2-utils libxml2-dev @@ -229,6 +229,12 @@ sub prep () { push(@packages, qw(texinfo autopoint libpciaccess-dev)); } + if ($ho->{Suite} =~ m/squeeze|wheezy|jessie|stretch|buster/) { + push(@packages, qw(python-dev libsdl-dev)) + } else { + push(@packages, qw(libsdl1.2-dev)) + } + # The in-tree ext4 support in libfsimage can't cope with 64bit ext4 on # 32bit build. Use the packaged library. if ($ho->{Suite} !~ m/squeeze|wheezy|jessie/) {