blob: 4ebb5cf736d26d4517021bff32d0c44f9a0a9ae1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# META-WEB-KIOSK
The layer contains a new bitbake target, core-image-web-kiosk, that automatically
starts a Midori browser right after boot and enables the use of a virtual keyboard
if there is support for it.
# DEPENDENCIES
The layer depends on the Poky metadata. For further information, please visit
the official Yocto Project website at:
http://www.yoctoproject.org
# DISPLAY CONFIGURATIONS
You can customize your display resolution by uncommenting the following line
from recipes-browser/midori-session/files/midori-session:
# Modify here for the desired resolution
# Full HD - 1920 x 1080
#xrandr -s 1240x768
by changing the 1240x768 resolution with the one that you desire.
# PROXY CONFIGURATIONS
If you are using the application inside a network that has proxy configuration,
uncomment the lines in the /recipes-browser/midori-session/midori-session_0.1.bb.
An example config file can be found in the files folder from recipes-browser/midori-session.
# CHANGE THE HOMEPAGE OF THE BROWSER
If you want to change the homepage for the browser, change -a parameter from
/recipes-browser/midori-session/files/midori-session file.
# ENABLE TOUCHSCREEN FOR qemux86
If you want to test the image using runqemu be sure that the variable HAVE_KEYBOARD
from poky/meta/recipes-bsb/formfactor/files/*arch*/machconfig is set to 0.
[Change *arch* keyword with the machine you are testing e.g if you use a x86 machine
*arch* will be qemux86]
# BUILDING THE META-WEB-KIOSK LAYER
After you download the meta-web-kiosk layer, be sure to add its location to the
bblayer.conf file.
BBLAYERS ?= " \
/<path>/meta \
/<path>/meta-yocto \
/<path>/meta-web-kiosk \
"
You should, now be able to build the new images
$ . ./oe-init-build-env
$ bitbake core-image-web-kiosk
$ bitbake core-image-kiosk-manager
For further information visit the wiki page of the layer at
https://wiki.yoctoproject.org/wiki/Web_Application_for_Interactive_Kiosk_Devices
# LICENSE
All metadata is MIT licensed unless otherwise stated. Source code included
in tree for individual recipes is under the LICENSE stated in each recipe
(.bb file) unless otherwise stated.
|