diff options
author | Ross Burton <ross.burton@intel.com> | 2015-10-20 20:17:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-24 12:42:41 +0100 |
commit | 9fa5ff645eb683533af482925079dff5c9151831 (patch) | |
tree | 28663504f3afc5c7c8b984cde805c16262786315 /scripts | |
parent | 646599a1f3d39238ba8009993750a46ae220e762 (diff) | |
download | openembedded-core-9fa5ff645eb683533af482925079dff5c9151831.tar.gz openembedded-core-9fa5ff645eb683533af482925079dff5c9151831.tar.bz2 openembedded-core-9fa5ff645eb683533af482925079dff5c9151831.zip |
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 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/postinst-intercepts/update_icon_cache | 2 |
1 files changed, 1 insertions, 1 deletions
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 |