gtk-update-icon-cache-native: create wrapper script

When using the sstate from another build machine, the path to the pixbuf
loader's cache points to a path on the remote machine. Hence, the update
of the icon cache fails on host.

(From OE-Core rev: f2cb906bdce08441a20eab927ca9e2a2a9735ed0)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Laurentiu Palcu 2013-04-08 18:06:41 +03:00 committed by Richard Purdie
parent 51f8dffecc
commit 4e46d6f235
1 changed files with 4 additions and 0 deletions

View File

@ -40,4 +40,8 @@ do_compile() {
do_install() {
install -d ${D}${bindir}
install -m 0755 ${B}/gtk-update-icon-cache ${D}${bindir}
create_wrapper ${D}/${bindir}/gtk-update-icon-cache \
GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache
}