Patchwork [2/2] builder: register text files with leafpad

login
register
mail settings
Submitter Cristian Iorga
Date Sept. 26, 2013, 7:15 a.m.
Message ID <8f927094eab79b6a8e6ec5505e40331b5d5384f6.1380179531.git.cristian.iorga@intel.com>
Download mbox | patch
Permalink /patch/59007/
State Accepted
Commit 724a466f4c761f3221ef6eef15062495e605f129
Headers show

Comments

Cristian Iorga - Sept. 26, 2013, 7:15 a.m.
Log files will open in leafpad under Build Appliance.

Part of [YOCTO #4727] fix.

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

Patch

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