summaryrefslogtreecommitdiff
path: root/poky/scripts/postinst-intercepts/update_mandb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/scripts/postinst-intercepts/update_mandb')
-rw-r--r--poky/scripts/postinst-intercepts/update_mandb2
1 files changed, 2 insertions, 0 deletions
diff --git a/poky/scripts/postinst-intercepts/update_mandb b/poky/scripts/postinst-intercepts/update_mandb
index a061bb426a..f91bafdb11 100644
--- a/poky/scripts/postinst-intercepts/update_mandb
+++ b/poky/scripts/postinst-intercepts/update_mandb
@@ -9,6 +9,8 @@ set -eu
CONFIG=$(mktemp --tmpdir update-mandb.XXXXX)
sed "s:\(\s\)/:\1$D/:g" $D${sysconfdir}/man_db.conf > $CONFIG
+mkdir -p $D${localstatedir}/cache/man/
+
PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${bindir}/mandb --config-file $CONFIG --create
rm -f $CONFIG