On Mon, 21 Dec 2009 22:16:12 +0900, Junichi Uekawa wrote:

> Hmm.. it's probably possible to create a hook script to do that. Do
> you want to give it a try?

Thanks for pushing me in the right direction! The following indeed
seems to work:

$ cat /var/cache/pbuilder/hooks/D10-man-db
#!/bin/sh
# Don't rebuild man-db

echo "I: Preseed man-db/auto-update to false"
debconf-set-selections <<EOF
man-db man-db/auto-update boolean false
EOF


Maybe you could add it as an example to
/usr/share/doc/pbuilder/examples/ and/or in the documentation?


Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: Leonard Cohen: Tonight Will Be Fine

Attachment: signature.asc
Description: Digital signature

Reply via email to