diff options
author | Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2010-08-24 11:39:07 +0200 |
---|---|---|
committer | Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2010-08-24 11:39:07 +0200 |
commit | 9b33b7169b9c20e2485d1e411ad6da6e3dc9e957 (patch) | |
tree | caca6b836eadd3eb079f9c7f8eb620676f04feca | |
parent | Warn when /var/lock, /var/run, /dev are in the installed image. (diff) | |
download | flameeyes-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.
-rwxr-xr-x | bashrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 (._*)" |