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