gdk-pixbuf: Only apply native cleaning in normal task, not setscene

The previous fix works well for normal tasks since the ordering is always
correct and gdk-pixbuf-native comes first. Setscene ordering is reversed
so we can't rely on this there. Remove the fix in that case since
it breaks more than it solves.

(From OE-Core rev: 4e89fe719b3e237d84b7ceba2a8c83a768baa714)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2015-09-26 18:12:17 +01:00
parent 452237b3f5
commit 00f0d2bfa0
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ SSTATEPREINSTFUNCS_append_class-native = " gdkpixbuf_sstate_preinst"
SYSROOT_PREPROCESS_FUNCS_append_class-native = " gdkpixbuf_sstate_preinst"
gdkpixbuf_sstate_preinst() {
if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]; then
if [ "${BB_CURRENTTASK}" = "populate_sysroot" ]; then
rm -rf ${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/*
fi
}