xref: /OK3568_Linux_fs/yocto/poky/scripts/postinst-intercepts/update_font_cache (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#!/bin/sh
2#
3# SPDX-License-Identifier: MIT
4#
5
6set -e
7
8rm -f $D${fontconfigcachedir}/CACHEDIR.TAG
9
10PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D -E ${fontconfigcacheenv} $D${libexecdir}/${binprefix}fc-cache --sysroot=$D --system-only ${fontconfigcacheparams}
11
12chown -R root:root $D${fontconfigcachedir}
13find $D -type f -name .uuid -exec chown root:root '{}' +
14