[oe-commits] Cristian Iorga : builder: register text files with leafpad

git at git.openembedded.org git at git.openembedded.org
Thu Sep 26 16:02:54 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 1645a3c1d288a4de38683129ed146198d8093a47
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1645a3c1d288a4de38683129ed146198d8093a47

Author: Cristian Iorga <cristian.iorga at intel.com>
Date:   Thu Sep 26 10:15:36 2013 +0300

builder: register text files with leafpad

Log files will open in leafpad under Build Appliance.

Part of [YOCTO #4727] fix.

Signed-off-by: Cristian Iorga <cristian.iorga at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../builder/files/builder_hob_start.sh             |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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



More information about the Openembedded-commits mailing list