summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/builder/files/builder_session.sh
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-03-11 12:13:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-12 22:11:46 +0000
commit8ea5cdc77633831a34aeb09ccd7592b3a5ecbd3d (patch)
tree4f8f4062b0a50b75fe8fd0959913c5451c22865b /meta/recipes-graphics/builder/files/builder_session.sh
parentff5d9f760754cf2f049a41e1dd6d2e6eeea0bfdc (diff)
downloadpoky-8ea5cdc77633831a34aeb09ccd7592b3a5ecbd3d.tar.gz
builder: remove hob from autostart
hob has been removed so don't try and autostart it with the mini-x session in the build appliance. Remove the please_wait_dialog program which informed the user to wait for Hob to start. Rename the mini-x autostart file to reflect the removal of hob, we now just start a matchbox-terminal with the environment configured. (From OE-Core rev: cd43436def38a0a87f0cd330fa487ad5fc0748d0) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/builder/files/builder_session.sh')
-rw-r--r--meta/recipes-graphics/builder/files/builder_session.sh33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-graphics/builder/files/builder_session.sh b/meta/recipes-graphics/builder/files/builder_session.sh
new file mode 100644
index 0000000000..001a03357d
--- /dev/null
+++ b/meta/recipes-graphics/builder/files/builder_session.sh
@@ -0,0 +1,33 @@
1#!/bin/sh
2#This script will be called via mini X session on behalf of file owner, after
3#installed in /etc/mini_x/session.d/. Any auto start jobs including X apps can
4#be put here
5
6# start hob here
7export PSEUDO_PREFIX=/usr
8export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo
9export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64
10export GIT_PROXY_COMMAND=/home/builder/poky/scripts/oe-git-proxy
11
12#start pcmanfm in daemon mode to allow asynchronous launch
13pcmanfm -d&
14
15#register handlers for some file types
16if [ ! -d /home/builder/.local/share/applications ]; then
17 mkdir -p /home/builder/.local/share/applications/
18 #register folders to open with PCManFM filemanager
19 xdg-mime default pcmanfm.desktop inode/directory
20
21 #register html links and files with epiphany
22 xdg-mime default epiphany.desktop x-scheme-handler/http
23 xdg-mime default epiphany.desktop x-scheme-handler/https
24 xdg-mime default epiphany.desktop text/html
25
26 #register text files with leafpad text editor
27 xdg-mime default leafpad.desktop text/plain
28fi
29
30cd /home/builder/poky
31. ./oe-init-build-env
32
33matchbox-terminal&