From 518b8e42864efd45cecb72878cf0f23e02199567 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 15 Aug 2025 14:46:13 +0200 Subject: [PATCH] testing: Use pipx to install swidGenerator on Debian trixie We could use the same approach on bookworm (if the base image is updated), but just use the old approach there for now. --- testing/scripts/recipes/014_swid_generator.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/scripts/recipes/014_swid_generator.mk b/testing/scripts/recipes/014_swid_generator.mk index 9f8407aa3..c10e00d8d 100644 --- a/testing/scripts/recipes/014_swid_generator.mk +++ b/testing/scripts/recipes/014_swid_generator.mk @@ -17,4 +17,8 @@ $(TAR): @touch $@ install: .$(PKG)-unpacked-$(REV) +ifeq (,$(filter $(BASEIMG),bullseye bookworm)) + cd $(DIR) && pipx install --global --system-site-packages . +else cd $(DIR) && SETUPTOOLS_USE_DISTUTILS=stdlib python3 setup.py install +endif