OoO En cette soirée bien amorcée du lundi 07 janvier 2008, vers 22:38, je disais:
> And we use cdbs : > - depends on debhelper (>= 5.0.44) > - set debian/compat to 6 > - add a lintian override for this > - add this in debian/rules to disallow first run of dh_installinit to > modify postinst/prerm/postrm scripts: > DEB_DH_INSTALLINIT_ARGS := -n > - add or modify binary-install/package target: > binary-install/yourbinarypackage:: > dh_installinit -p$(cdbs_curpkg) > or (not tested): > $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: > dh_installinit -p$(cdbs_curpkg) > I don't know if make would allow to append something at the beginning of > an existing target to avoid such a silly work-around. Or another way to fix this into cdbs could be to have a way to tell debhelper that we want postinst built in reverse order, not postrm/prerm. Some kind of REVERSE environment variable that would tell which files should be built in reverse order and defaulting to prerm,postrm. -- panic("floppy: Port bolixed."); 2.2.16 /usr/src/linux/include/asm-sparc/floppy.h
pgpnSPkdtseu1.pgp
Description: PGP signature