summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/pixbufcache.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass
index dbe11e12da..3f48a0f344 100644
--- a/meta/classes/pixbufcache.bbclass
+++ b/meta/classes/pixbufcache.bbclass
@@ -54,6 +54,7 @@ gdkpixbuf_complete() {
54# An error exit during populate_sysroot_setscene allows bitbake to 54# An error exit during populate_sysroot_setscene allows bitbake to
55# try to recover by re-building the package. 55# try to recover by re-building the package.
56# 56#
57DEPENDS_append_class-native = " gdk-pixbuf-native"
57SSTATEPOSTINSTFUNCS_append_class-native = " pixbufcache_sstate_postinst" 58SSTATEPOSTINSTFUNCS_append_class-native = " pixbufcache_sstate_postinst"
58 59
59# See base.bbclass for the other half of this 60# See base.bbclass for the other half of this
@@ -61,7 +62,8 @@ pixbufcache_sstate_postinst() {
61 if [ "${BB_CURRENTTASK}" = "populate_sysroot" ]; then 62 if [ "${BB_CURRENTTASK}" = "populate_sysroot" ]; then
62 ${gdkpixbuf_complete} 63 ${gdkpixbuf_complete}
63 elif [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]; then 64 elif [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]; then
64 echo "${gdkpixbuf_complete}" >> ${STAGING_DIR}/sstatecompletions 65 if [ -x ${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders ]; then
66 echo "${gdkpixbuf_complete}" >> ${STAGING_DIR}/sstatecompletions
67 fi
65 fi 68 fi
66} 69}
67