mime.bbclass: Add --disable-update-mimedb to EXTRA_OECONF

* ensure update-mime-database is not called during build time
* this patch was included in meta-oe [1] about the same time when mime.bbclass
  was migrated from meta-oe -> oe-core so it seems it got lost.
* tests: build from scratch / run on overo / additional check: no unpacked
  files for gnome-control-center

[1] http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/classes?id=6b765989a42ab314d1611f4dec78b07b562a9e7d

(From OE-Core rev: 0429558d538eddd4689efe67ee778d30147d959d)

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Müller
2011-11-20 22:09:23 +01:00
committed by Richard Purdie
parent a403e9b56b
commit e2d78c63b1

View File

@@ -1,5 +1,7 @@
DEPENDS += "shared-mime-info-native shared-mime-info"
EXTRA_OECONF += "--disable-update-mimedb"
mime_postinst() {
if [ "$1" = configure ]; then
UPDATEMIMEDB=`which update-mime-database`