diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes-recipe/manpages.bbclass | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/meta/classes-recipe/manpages.bbclass b/meta/classes-recipe/manpages.bbclass index 693fb53671..e9ca2f895b 100644 --- a/meta/classes-recipe/manpages.bbclass +++ b/meta/classes-recipe/manpages.bbclass | |||
@@ -23,17 +23,7 @@ pkg_postinst:${MAN_PKG}:append () { | |||
23 | if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then | 23 | if ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'true', 'false', d)}; then |
24 | if test -n "$D"; then | 24 | if test -n "$D"; then |
25 | if ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'true', 'false', d)}; then | 25 | if ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'true', 'false', d)}; then |
26 | sed "s:\(\s\)/:\1$D/:g" $D${sysconfdir}/man_db.conf | ${@qemu_run_binary(d, '$D', '${bindir}/mandb')} -C - -u -q $D${mandir} | 26 | $INTERCEPT_DIR/postinst_intercept update_mandb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} bindir=${bindir} sysconfdir=${sysconfdir} mandir=${mandir} |
27 | chown -R root:root $D${mandir} | ||
28 | |||
29 | mkdir -p $D${localstatedir}/cache/man | ||
30 | cd $D${mandir} | ||
31 | find . -name index.db | while read index; do | ||
32 | mkdir -p $D${localstatedir}/cache/man/$(dirname ${index}) | ||
33 | mv ${index} $D${localstatedir}/cache/man/${index} | ||
34 | chown man:man $D${localstatedir}/cache/man/${index} | ||
35 | done | ||
36 | cd - | ||
37 | else | 27 | else |
38 | $INTERCEPT_DIR/postinst_intercept delay_to_first_boot ${PKG} mlprefix=${MLPREFIX} | 28 | $INTERCEPT_DIR/postinst_intercept delay_to_first_boot ${PKG} mlprefix=${MLPREFIX} |
39 | fi | 29 | fi |