From 82ab16b8829d2d201c54b5163cc64b70dda18397 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Mon, 6 Jul 2026 09:14:58 +0300 Subject: [PATCH] libdrm: skip the generic version check for the whole package libdrm-tests ships DRM tools (modetest, proptest, ...) with no --version flag, so the generic probe aborts with "No executables in the package provided version" and fails CI. test-version.sh is shared by every subpackage built from this directory and a non-zero exit fails it, so it must accept the whole family (the libraries ship no executables either) -- hence libdrm*, not just libdrm-tests. Signed-off-by: Alexandru Ardelean --- libs/libdrm/test-version.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 libs/libdrm/test-version.sh diff --git a/libs/libdrm/test-version.sh b/libs/libdrm/test-version.sh new file mode 100755 index 0000000000..6c60deef4c --- /dev/null +++ b/libs/libdrm/test-version.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# shellcheck shell=busybox + +# libdrm-tests ships DRM tools (modetest, ...) with no --version flag; the other +# subpackages ship no executables. Skip the version probe for the whole family. +case "$PKG_NAME" in +libdrm*) + exit 0 + ;; + +*) + echo "Untested package: $PKG_NAME" >&2 + exit 1 + ;; +esac