diff options
authorMartin Whitaker <>2018-12-20 14:32:34 (GMT)
committerMartin Whitaker <>2018-12-20 14:32:34 (GMT)
commit37d0b86bafa0808c1273763d0375b78a6777c50d (patch)
parent097553cbd9517514bdc6f9c56e4f7fc4a578281d (diff)
Update man-db cache after packages have been installed.
man-db file triggers now use systemd-run, which doesn't work when installing in a chroot.
1 files changed, 5 insertions, 0 deletions
diff --git a/config/build.cfg b/config/build.cfg
index 7c1f421..fcbbb8d 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -296,6 +296,11 @@ my $config = {
# Now update the cache for the new timestamps.
"fc-cache -rf",
+ # The man-db transfiletriggerin scriplet requires systemd, so will
+ # have silently failed when run in a chroot. So the man-db cache
+ # will not have been updated. Do it now.
+ "mandb -q",
# Set the initial wireless regulatory domain to "world", enabling
# all possible wireless channels to be used.
"sed -i -r 's/CRDA_DOMAIN=.*/CRDA_DOMAIN=00/' /etc/sysconfig/network",