From 517132904ede7b1dac2d911ec2ad587a1d180f6a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 20 Oct 2015 20:17:58 +0100 Subject: 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 Signed-off-by: Richard Purdie --- scripts/postinst-intercepts/update_icon_cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/postinst-intercepts') diff --git a/scripts/postinst-intercepts/update_icon_cache b/scripts/postinst-intercepts/update_icon_cache index c02273d52a..df9bdecc99 100644 --- a/scripts/postinst-intercepts/update_icon_cache +++ b/scripts/postinst-intercepts/update_icon_cache @@ -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 -- cgit v1.2.3-54-g00ecf