]> code.ossystems Code Review - openembedded-core.git/commitdiff
gdk-pixbuf: pass GDK_PIXBUF_FATAL_LOADER where relevant
authorRoss Burton <ross.burton@intel.com>
Tue, 1 Apr 2014 16:23:37 +0000 (17:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Apr 2014 22:38:15 +0000 (23:38 +0100)
Pass GDK_PIXBUF_FATAL_LOADER to the sstate postinst and intercept so that any
problems are flagged as errors instead of being silently ignored.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/pixbufcache.bbclass
scripts/postinst-intercepts/update_pixbuf_cache

index 414fd30e6a180a0373fef5852fa471abacedf4b4..922174dffea23471aadedb5f203d6711c396263b 100644 (file)
@@ -53,7 +53,7 @@ SSTATEPOSTINSTFUNCS_append_class-native = " pixbufcache_sstate_postinst"
 pixbufcache_sstate_postinst() {
        if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
        then
-               gdk-pixbuf-query-loaders --update-cache
+               GDK_PIXBUF_FATAL_LOADER=1 gdk-pixbuf-query-loaders --update-cache
        fi
 }
 
index 3f937738a1b76fef0628cb6e94f92dda21b0fb78..95bf4f90a3fe6706d603493c30134755624b205a 100644 (file)
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
+export GDK_PIXBUF_FATAL_LOADER=1
 
 PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
     $D${bindir}/gdk-pixbuf-query-loaders \