]> code.ossystems Code Review - openembedded-core.git/commitdiff
mime.bbclass: Add PACKAGE_WRITE_DEPS for postinst
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Thu, 19 Jan 2017 08:53:05 +0000 (10:53 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:51:09 +0000 (22:51 +0000)
update-mime-database is used in postinstall.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
meta/classes/mime.bbclass

index 6cd59af3919f170981cbb1c780c263a46e41b19d..0df15831c4648f829af87cd50942f725727d82d2 100644 (file)
@@ -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