diff options
author | Andreas Müller <schnitzeltony@gmx.de> | 2011-11-20 22:09:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-21 16:48:53 +0000 |
commit | e2d78c63b1fbef4c237d6e432a03e6ca6327d935 (patch) | |
tree | fd49994fb2a78146418959c6c192100b020c4700 /meta/classes/mime.bbclass | |
parent | a403e9b56b814d31c7f814e8ecf811effe1cd57a (diff) | |
download | poky-e2d78c63b1fbef4c237d6e432a03e6ca6327d935.tar.gz |
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>
Diffstat (limited to 'meta/classes/mime.bbclass')
-rw-r--r-- | meta/classes/mime.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass index c349cdb6f7..dcdc27a74c 100644 --- a/meta/classes/mime.bbclass +++ b/meta/classes/mime.bbclass | |||
@@ -1,5 +1,7 @@ | |||
1 | DEPENDS += "shared-mime-info-native shared-mime-info" | 1 | DEPENDS += "shared-mime-info-native shared-mime-info" |
2 | 2 | ||
3 | EXTRA_OECONF += "--disable-update-mimedb" | ||
4 | |||
3 | mime_postinst() { | 5 | mime_postinst() { |
4 | if [ "$1" = configure ]; then | 6 | if [ "$1" = configure ]; then |
5 | UPDATEMIMEDB=`which update-mime-database` | 7 | UPDATEMIMEDB=`which update-mime-database` |