Disable man-db settings to speed up package installation
authorMichael Prokop <mika@grml.org>
Fri, 3 Jun 2022 10:43:13 +0000 (12:43 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 3 Jun 2022 11:04:58 +0000 (13:04 +0200)
The man-db process tends to be time consuming. By disabling the
auto-update + build-database settings, we can speed up the build
process and also package installation on the live system.

If someone really has needs for apropos(1) usage, manual invocation of
`mandb` should be all what's needed.

Thanks: Thorsten Glaser for the suggestion
Closes: https://github.com/grml/grml-live/issues/112

etc/grml/fai/config/debconf/GRMLBASE

index 3a43fc9..89b3503 100644 (file)
@@ -1,5 +1,7 @@
 locales locales/default_environment_locale select en_US.UTF-8
 locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8
+man-db man-db/auto-update boolean false
+man-db man-db/build-database boolean false
 openssh-server openssh-server/permit-root-login boolean true
 passwd passwd/shadow boolean true
 portmap portmap/loopback boolean false