mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Only change the ownership of ${libdir}/gio/modules/giomodule.cache if it exists. (From OE-Core rev: df2e1a8fbadffac0f1781a0d07e050356a007327) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 lines
284 B
Bash
10 lines
284 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D${libdir}:$D${base_libdir} \
|
|
$D${libexecdir}/${binprefix}gio-querymodules $D${libdir}/gio/modules/
|
|
|
|
[ ! -e $D${libdir}/gio/modules/giomodule.cache ] ||
|
|
chown root:root $D${libdir}/gio/modules/giomodule.cache
|