From: Russ Allbery Date: Sat, 28 Jun 2008 06:52:31 +0000 (-0700) Subject: Ship fewer debug symbols X-Git-Tag: debian/1.4.7.dfsg1-3~4 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4dc483e518254196195cfa6b3d12a96d1da868c6;p=packages%2Fo%2Fopenafs.git Ship fewer debug symbols Don't include debug symbols for /sbin, /usr/bin, and /usr/sbin binaries or PAM modules in openafs-dbg, just the servers in /usr/lib/openafs, since those are the most likely cases where backtraces are important and a 10MB debug symbol package seems like overkill. --- diff --git a/debian/changelog b/debian/changelog index 5c42be7dd..83758f720 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,11 @@ openafs (1.4.7.dfsg1-3) UNRELEASED; urgency=low with a zero status still doesn't get OpenAFS started, but at least it doesn't leave the system in a partly installed state. Thanks to Durk Strooisma for the analysis. (Closes: #486816) + * Don't include debug symbols for /sbin, /usr/bin, and /usr/sbin + binaries or PAM modules in openafs-dbg, just the servers in + /usr/lib/openafs, since those are the most likely cases where + backtraces are important and a 10MB debug symbol package seems like + overkill. * Stop using quilt to manage patches and pre-apply them to the source package now that the package is maintained with Git. * Add Vcs-Git and Vcs-Browser control fields. diff --git a/debian/rules b/debian/rules index 8305ad31e..50c088999 100755 --- a/debian/rules +++ b/debian/rules @@ -237,6 +237,10 @@ binary-arch: install-stamp DH_OPTIONS= dh_installinit -popenafs-fileserver -r dh_link dh_strip --dbg-package=openafs-dbg + rm -rf debian/openafs-dbg/usr/lib/debug/lib + rm -rf debian/openafs-dbg/usr/lib/debug/sbin + rm -rf debian/openafs-dbg/usr/lib/debug/usr/bin + rm -rf debian/openafs-dbg/usr/lib/debug/usr/sbin dh_compress dh_fixperms chmod 700 debian/openafs-client/var/cache/openafs