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-27 07:24:30 +0000 |
commit | 517132904ede7b1dac2d911ec2ad587a1d180f6a (patch) | |
tree | 69b3d5be1c88f31cb7f3d1d4af48688852f78054 /scripts/postinst-intercepts | |
parent | d18d902fae9b9bd1e43bf96f83a3235258da8cd8 (diff) | |
download | poky-517132904ede7b1dac2d911ec2ad587a1d180f6a.tar.gz |
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>
Diffstat (limited to 'scripts/postinst-intercepts')
-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 @@ | |||
3 | set -e | 3 | set -e |
4 | 4 | ||
5 | # update native pixbuf loaders | 5 | # update native pixbuf loaders |
6 | ${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache | 6 | $STAGING_DIR_NATIVE/${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache |
7 | 7 | ||
8 | for icondir in $D/usr/share/icons/*/ ; do | 8 | for icondir in $D/usr/share/icons/*/ ; do |
9 | if [ -d $icondir ] ; then | 9 | if [ -d $icondir ] ; then |