[Build-common-hackers] Bug#448507: cdbs: documentation suggests binary/foo::, but it only runs after .debs are already packed up

Petr Rockai mornfall at debian.org
Mon Oct 29 16:45:24 UTC 2007


Package: cdbs
Version: 0.4.49
Severity: normal


In documentation, it is suggested that binary/<package>:: should be
used for post-installation (post-deb-preparation) actions and an
example is given:

binary/foo::
   strip --remove-section=.comment --remove-section=.note --strip-unneeded \
      debian/foo/usr/lib/foo/totoz.so

However, this only runs after the binary .deb is packed up, so the
command is useless (the unstripped version of binary is already part
of the .deb). The right hook seems to read binary-install/<package>.

Yours, Peter.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc6-1-morn (PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev                 20070725.1 Update infrastructure for config.{
ii  debhelper                     5.0.59     helper programs for debian/rules

-- no debconf information





More information about the Build-common-hackers mailing list