Message ID | 6b988a04fc35feeb21699174374a145b9cb7c07f.1694535904.git.pidge@baylibre.com |
---|---|
State | New |
Headers | show |
Series | Ensure sdk.py knows about nativesdk-intercepts | expand |
diff --git a/scripts/postinst-intercepts/update_mandb b/scripts/postinst-intercepts/update_mandb index a061bb426a6..f91bafdb117 100644 --- a/scripts/postinst-intercepts/update_mandb +++ b/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
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. Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com> --- scripts/postinst-intercepts/update_mandb | 2 ++ 1 file changed, 2 insertions(+)