Skip to contentSkip to conversation

Build Appliance: Open build logs in text editor

PATCH New Cristian Iorga 1 participant 3 messages Sep 26, 2013

lore
Share & tools
lore
#0 lore raw

cover Build Appliance: Open build logs in text editor

Opening build logs works in Hob under Build Appliance. leafpad text editor is integrated in Build Appliance.

The following changes since commit 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0:

build-appliance: Update SRCREV (2013-09-24 18:09:12 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ciorga/YB4727
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ciorga/YB4727

Cristian Iorga (2):
packagegroup-self-hosted: add leafpad text editor
builder: register text files with leafpad

 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 1 +
 meta/recipes-graphics/builder/files/builder_hob_start.sh    | 3 +++
 2 files changed, 4 insertions(+)
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/2 packagegroup-self-hosted: add leafpad text editor

A text editor is needed to examine log files.

Part of [YOCTO #4727] fix.

---
 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +1 -0
index 90ec74e..de2a076 100644
@@ -44,6 +44,7 @@ RDEPENDS_packagegroup-self-hosted-host-tools = "\
     mc-helpers \
     mc-helpers-perl \
     mc-helpers-python \
+    leafpad \
     midori \
     pcmanfm \
     parted \
Signature · 1 line
1.8.1.2
#2 lore raw

PATCH 2/2 builder: register text files with leafpad

In reply to Cristian Iorga

Log files will open in leafpad under Build Appliance.

Part of [YOCTO #4727] fix.

---
 meta/recipes-graphics/builder/files/builder_hob_start.sh | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-graphics/builder/files/builder_hob_start.sh +3 -0
index be3f911..42c93dd 100644
@@ -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
Signature · 1 line
1.8.1.2