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

login
register
mail settings
Submitter Andreas Müller
Date Nov. 20, 2011, 9:09 p.m.
Message ID <1321823363-3863-1-git-send-email-schnitzeltony@gmx.de>
Download mbox | patch
Permalink /patch/15175/
State Accepted
Commit 0429558d538eddd4689efe67ee778d30147d959d
Headers show

Comments

Andreas Müller - Nov. 20, 2011, 9:09 p.m.
* 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

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
---
 meta/classes/mime.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Richard Purdie - Nov. 21, 2011, 5:01 p.m.
On Sun, 2011-11-20 at 22:09 +0100, Andreas Müller wrote:
> * 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
> 
> Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
> ---
>  meta/classes/mime.bbclass |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass
index c349cdb..dcdc27a 100644
--- a/meta/classes/mime.bbclass
+++ b/meta/classes/mime.bbclass
@@ -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`