blob: a4d6e14ed9c0680e7c8094bb42167099e9a8cc6d (
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
|
Internet of Things
==================
This version of eca contains TheThingSystem Steward support.
In order to include it in the image, just set this in your local.conf file.
DISTRO_FEATURES_append = " internet-of-things"
and add meta-eca/meta-iot to your BBLAYERS in your bblayers.conf file.
Note that during the build, the TheThingSystem steward needs Internet
access to load node.js components.
If you are behind a proxy, then you need a special hack to set the
proxies for npm.
cp meta-eca/meta-iot/recipes-web/the-thing-system/steward/npm-setup-proxies.example ~/npm-setup-proxies
chmod 755 ~/npm-setup-proxies
Edit ~/npm-setup-proxies and set your proxy settings there.
If you see this python error while building steward
gyp ERR! stack KeyError: 'getpwuid(): uid not found: 1000'
then one solution (really ugly and hackish one) is to add your uid to
sysroot $BUILDDIR/tmp-eglibc/sysroots/genericx86/etc/passwd file.
If you see this error
log.do_install.16119:npm ERR! Error: shasum check failed for \
/home/user/tmp/npm-16155/1392027924404-0.427580259507522/tmp.tgz
then just remove npm temp files like this
rm -rf ~/tmp/npm-*
You can connect to Steward UI at
https://eca.local:8888/
Creating user and credentials can be done at
https://eca.local:8888/client.html
Console raw data can be seen at
https://eca.local:8888/console.html
Normally ECA management console would be found at port 80 but as the
steward controls that, the ECA web UI can be found at
https://eca.local:8080
|