diff options
author | Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com> | 2023-09-14 14:39:19 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-17 19:37:19 +0100 |
commit | 81ef24bac0aa82a91f00fc71fb541b3f5d9f9186 (patch) | |
tree | 0a8e9edd70aeef5ed647c6547f9d2e1b5d54f66a | |
parent | 9ccde59c5303abb04e9bb8e2c987ff4b8f44bb43 (diff) | |
download | poky-81ef24bac0aa82a91f00fc71fb541b3f5d9f9186.tar.gz |
update_mandb: deb fails due to missing man cache
This only occurs in debian package builds when populating the sdk
and is a work around that seems to work. Eventually we should look
at why this is failing (I have ideas, it's somewhere in
lib/oe/package_management/deb/sdk.py), but for now, do this so we can
fix the core issue with nativesdk-intercepts.
(From OE-Core rev: a411123a95114233c5efd762dbcc8eb513030aab)
Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/postinst-intercepts/update_mandb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/postinst-intercepts/update_mandb b/scripts/postinst-intercepts/update_mandb index a061bb426a..f91bafdb11 100644 --- a/scripts/postinst-intercepts/update_mandb +++ b/scripts/postinst-intercepts/update_mandb | |||
@@ -9,6 +9,8 @@ set -eu | |||
9 | CONFIG=$(mktemp --tmpdir update-mandb.XXXXX) | 9 | CONFIG=$(mktemp --tmpdir update-mandb.XXXXX) |
10 | sed "s:\(\s\)/:\1$D/:g" $D${sysconfdir}/man_db.conf > $CONFIG | 10 | sed "s:\(\s\)/:\1$D/:g" $D${sysconfdir}/man_db.conf > $CONFIG |
11 | 11 | ||
12 | mkdir -p $D${localstatedir}/cache/man/ | ||
13 | |||
12 | PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${bindir}/mandb --config-file $CONFIG --create | 14 | PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${bindir}/mandb --config-file $CONFIG --create |
13 | 15 | ||
14 | rm -f $CONFIG | 16 | rm -f $CONFIG |