[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4150/8267] mime.bbclass: Add PACKAGE_WRITE_DEPS for postinst



commit c197a98ceee74edb98de97d02d85ccb507757013
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date:   Thu Jan 19 10:53:05 2017 +0200

    mime.bbclass: Add PACKAGE_WRITE_DEPS for postinst
    
    update-mime-database is used in postinstall.
    
    (From OE-Core rev: 57d63e8e89980c53f40e12ca670fc3f58f7e4c0f)
    
    Signed-off-by: Jussi Kukkonen <jussi kukkonen intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/mime.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass
index 6cd59af..0df1583 100644
--- a/meta/classes/mime.bbclass
+++ b/meta/classes/mime.bbclass
@@ -1,4 +1,5 @@
-DEPENDS += "shared-mime-info-native shared-mime-info"
+DEPENDS += "shared-mime-info"
+PACKAGE_WRITE_DEPS += "shared-mime-info-native"
 
 mime_postinst() {
 if [ "$1" = configure ]; then


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]