builder: register text files with leafpad

Log files will open in leafpad under Build Appliance.

Part of [YOCTO #4727] fix.

(From OE-Core rev: 1645a3c1d288a4de38683129ed146198d8093a47)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Cristian Iorga 2013-09-26 10:15:36 +03:00 committed by Richard Purdie
parent b88d1fb377
commit 724a466f4c
1 changed files with 3 additions and 0 deletions

View File

@ -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