aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d/20-arch.t.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sbopkglint.d/20-arch.t.sh')
-rw-r--r--sbopkglint.d/20-arch.t.sh7
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
}