mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
intercepts/update_icon_cache: use STAGING_DIR_NATIVE from environment
Instead of expecting that the calling postinst has exported STAGING_LIBDIR_NATIVE (which will get set to the sysroot at package build time and may not be correct if sstate is used), use the new STAGING_DIR_NATIVE that is exported by rootfs.py. [ YOCTO #8547 ] (From OE-Core rev: 9fa5ff645eb683533af482925079dff5c9151831) 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
d18d902fae
commit
517132904e
@@ -3,7 +3,7 @@
|
||||
set -e
|
||||
|
||||
# update native pixbuf loaders
|
||||
${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
|
||||
$STAGING_DIR_NATIVE/${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
|
||||
|
||||
for icondir in $D/usr/share/icons/*/ ; do
|
||||
if [ -d $icondir ] ; then
|
||||
|
||||
Reference in New Issue
Block a user