From cc8093207427e27cdbdd6dd874ff4d076f0138c1 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Wed, 23 Dec 2009 13:10:23 +0900 Subject: 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. --- examples/D80no-man-db-rebuild | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 examples/D80no-man-db-rebuild (limited to 'examples') 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 <