@@ -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/) {
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 <anthony.perard@citrix.com> --- ts-xen-build-prep | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)