poky/scripts/postinst-intercepts/update_font_cache
Ross Burton c83ad9949b update_font_cache: fix ownership of .uuid files too
(From OE-Core rev: cc2b5dfbfe353425d0b463a4a01589b64f2f5e60)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-27 16:48:08 +00:00

12 lines
315 B
Bash

#!/bin/sh
#
# SPDX-License-Identifier: MIT
#
set -e
PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E ${fontconfigcacheenv} $D${libexecdir}/${binprefix}fc-cache --sysroot=$D --system-only ${fontconfigcacheparams}
chown -R root:root $D${fontconfigcachedir}
find $D -type f -name .uuid -exec chown root:root '{}' +