[OE-core] [PATCH 2/2] builder: register text files with leafpad

Cristian Iorga cristian.iorga at intel.com
Thu Sep 26 07:15:36 UTC 2013


Log files will open in leafpad under Build Appliance.

Part of [YOCTO #4727] fix.

Signed-off-by: Cristian Iorga <cristian.iorga at intel.com>
---
 meta/recipes-graphics/builder/files/builder_hob_start.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-graphics/builder/files/builder_hob_start.sh b/meta/recipes-graphics/builder/files/builder_hob_start.sh
index be3f911..42c93dd 100644
--- a/meta/recipes-graphics/builder/files/builder_hob_start.sh
+++ b/meta/recipes-graphics/builder/files/builder_hob_start.sh
@@ -22,6 +22,9 @@ if [ ! -d /home/builder/.local/share/applications ]; then
     xdg-mime default midori.desktop x-scheme-handler/http
     xdg-mime default midori.desktop x-scheme-handler/https
     xdg-mime default midori.desktop text/html
+
+    #register text files with leafpad text editor
+    xdg-mime default leafpad.desktop text/plain
 fi
 
 cd /home/builder/poky
-- 
1.8.1.2




More information about the Openembedded-core mailing list