diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-09-14 22:29:22 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-09-14 22:29:22 -0400 |
| commit | b23ceb76a8a7039bb1b04dc620a861cadb7ac799 (patch) | |
| tree | f764da0cab8b600f8289c7641e7264b4e964b205 /sbopkglint.d/20-arch.t.sh | |
| parent | 2bf1490a51ae182ed8c27fcc6b7c75f0ce09199c (diff) | |
| download | sbo-maintainer-tools-b23ceb76a8a7039bb1b04dc620a861cadb7ac799.tar.gz | |
sbopkglint: no bad glibc error for packages that bundle their own glibc in /opt.
Diffstat (limited to 'sbopkglint.d/20-arch.t.sh')
| -rw-r--r-- | sbopkglint.d/20-arch.t.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sbopkglint.d/20-arch.t.sh b/sbopkglint.d/20-arch.t.sh index b2a877c..8997709 100644 --- a/sbopkglint.d/20-arch.t.sh +++ b/sbopkglint.d/20-arch.t.sh @@ -55,7 +55,12 @@ glibc_check() { #echo "===> ver: $ver highver: $highver" if [ "$highver" != "$GLIBC_VER" ]; then - echo "$1" >> .badglibc.$$ + # one last check: we're now allowing packages to bundle their + # own glibc, in /opt/$PRGNAM. don't complain about these. + case "$( patchelf --print-interpreter "$1" )" in + /opt/*) ;; + *) echo "$1" >> .badglibc.$$ ;; + esac fi } |
