summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-08-24 11:39:07 +0200
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-08-24 11:39:07 +0200
commit9b33b7169b9c20e2485d1e411ad6da6e3dc9e957 (patch)
treecaca6b836eadd3eb079f9c7f8eb620676f04feca /bashrc
parentWarn when /var/lock, /var/run, /dev are in the installed image. (diff)
downloadflameeyes-tinderbox-9b33b7169b9c20e2485d1e411ad6da6e3dc9e957.tar.gz
flameeyes-tinderbox-9b33b7169b9c20e2485d1e411ad6da6e3dc9e957.tar.bz2
flameeyes-tinderbox-9b33b7169b9c20e2485d1e411ad6da6e3dc9e957.zip
Add some safety checks to ensure that macros-now-gone won't cause undefined
symbols on various kind of software.
Diffstat (limited to 'bashrc')
-rwxr-xr-xbashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 1d0eabe..4da89c1 100755
--- a/bashrc
+++ b/bashrc
@@ -71,6 +71,10 @@ post_src_install() {
scanelf -qRs -$symbol "${D}" >> "${T}"/tinderbox-scanelf-insecure.log
done
+ for symbolre in S_IS 'G[TD]K_'; do
+ scanelf -qRgs "-^${symbolre}*" "${D}" >> "${T}"/tinderbox-scanelf-badsymbols.log
+ done
+
scanelf -R "${D}"/usr/share > "${T}"/tinderbox-share-elfs.log
if has binchecks ${RESTRICT}; then
@@ -107,6 +111,7 @@ post_src_install() {
eqawarn "Tinderbox QA Warning: No locales installed (bug #264114)"
fi
+ tinderbox_if_file Warning tinderbox-scanelf-badsymbols.log "Bad undefined symbol (glibc-2.12, gtk+-2.20 errors)"
tinderbox_if_file Warning tinderbox-scanelf-bundled.log "Possibly bundled libraries"
tinderbox_if_file Warning tinderbox-invalid-directory.log "Invalid directories in image"
tinderbox_if_file Warning tinderbox-osx-forkfile.log "OSX fork files found (._*)"