mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
update_gio_module_cache: Do not chown a non-existing file
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>
This commit is contained in:
committed by
Richard Purdie
parent
934dc65f06
commit
4bd647af83
@@ -3,7 +3,7 @@
|
||||
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/
|
||||
|
||||
chown root:root $D${libdir}/gio/modules/giomodule.cache
|
||||
$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
|
||||
|
||||
Reference in New Issue
Block a user