diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
| commit | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch) | |
| tree | 1269efa852935b183daae4bb33a58d1b4d2ffb53 /.github/scripts/linux-artifact-validation.sh | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to '.github/scripts/linux-artifact-validation.sh')
| -rw-r--r-- | .github/scripts/linux-artifact-validation.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/scripts/linux-artifact-validation.sh b/.github/scripts/linux-artifact-validation.sh index 01a607f6..2a7db636 100644 --- a/.github/scripts/linux-artifact-validation.sh +++ b/.github/scripts/linux-artifact-validation.sh @@ -70,6 +70,7 @@ validate_elf_executable() { local file_output local header_output local program_output + local dynamic_output if [ ! -x "$path" ]; then linux_validation_error "Required executable is missing: $path" @@ -80,7 +81,14 @@ validate_elf_executable() { header_output=$(readelf -hW -- "$path") || return program_output=$(readelf -lW -- "$path") || return echo "$file_output" - validate_elf_metadata "$arch" "$path" "$file_output" "$header_output" "$program_output" + validate_elf_metadata "$arch" "$path" "$file_output" "$header_output" "$program_output" || return + if [ "${path##*/}" = jt9 ]; then + dynamic_output=$(readelf -dW -- "$path") || return + if printf '%s\n' "$dynamic_output" | awk '/\(NEEDED\)/ && /\[libQt/ { found=1 } END { exit found ? 0 : 1 }'; then + linux_validation_error "$path must not depend on Qt" + return 1 + fi + fi } validate_linux_build_executables() { |
