]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Ship fewer debug symbols
authorRuss Allbery <rra@debian.org>
Sat, 28 Jun 2008 06:52:31 +0000 (23:52 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 28 Jun 2008 06:52:31 +0000 (23:52 -0700)
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.

debian/changelog
debian/rules

index 5c42be7dd0a87d94d6d0e343b693aea585dcd2be..83758f720086b5cdb6f38cd9f35da10f7324affa 100644 (file)
@@ -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.
index 8305ad31e919c3368043bf5a9c142a1313966a63..50c088999d2aaba8d5df243301a585157f685d87 100755 (executable)
@@ -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