aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2009-12-23 13:10:23 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2009-12-23 13:10:23 +0900
commitcc8093207427e27cdbdd6dd874ff4d076f0138c1 (patch)
tree28abee069175805ae8202ccc3fd5ac57bf975fe3 /examples
parent8d1bb25b67228d08a7310d2a59b8b58c75b9d822 (diff)
downloadpbuilder-cc8093207427e27cdbdd6dd874ff4d076f0138c1.tar
pbuilder-cc8093207427e27cdbdd6dd874ff4d076f0138c1.tar.gz
Add a hook script example to disable man-db regeneration inside chroot (closes: 561539)
It's rather boring to see (p|cow)builder writing "Building database of manual pages ..." and to wait for the recreation of the man-db, especially on slow machines like the openmoko freerunner ... man-db has a new feature to disable rebuilding the database since 2.5.6-4 (cf. #554914 and man-db's changelog). It would be great if it were possible to use this feature in (p|cow)builder.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/D80no-man-db-rebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/D80no-man-db-rebuild b/examples/D80no-man-db-rebuild
new file mode 100755
index 0000000..f75dbc3
--- /dev/null
+++ b/examples/D80no-man-db-rebuild
@@ -0,0 +1,7 @@
+#!/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