diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:29:32 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:29:32 +0200 |
commit | 6b4c82f4657bdb56e6b7a56651d6d4bb91a35b8f (patch) | |
tree | 814ad3da280833de03535ca04cf5068da1d31822 /README.iot | |
download | meta-eca-daisy-enea.tar.gz |
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'README.iot')
-rw-r--r-- | README.iot | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/README.iot b/README.iot new file mode 100644 index 0000000..a4d6e14 --- /dev/null +++ b/README.iot | |||
@@ -0,0 +1,54 @@ | |||
1 | Internet of Things | ||
2 | ================== | ||
3 | |||
4 | This version of eca contains TheThingSystem Steward support. | ||
5 | |||
6 | In order to include it in the image, just set this in your local.conf file. | ||
7 | |||
8 | DISTRO_FEATURES_append = " internet-of-things" | ||
9 | |||
10 | and add meta-eca/meta-iot to your BBLAYERS in your bblayers.conf file. | ||
11 | |||
12 | |||
13 | Note that during the build, the TheThingSystem steward needs Internet | ||
14 | access to load node.js components. | ||
15 | |||
16 | If you are behind a proxy, then you need a special hack to set the | ||
17 | proxies for npm. | ||
18 | cp meta-eca/meta-iot/recipes-web/the-thing-system/steward/npm-setup-proxies.example ~/npm-setup-proxies | ||
19 | chmod 755 ~/npm-setup-proxies | ||
20 | Edit ~/npm-setup-proxies and set your proxy settings there. | ||
21 | |||
22 | If you see this python error while building steward | ||
23 | |||
24 | gyp ERR! stack KeyError: 'getpwuid(): uid not found: 1000' | ||
25 | |||
26 | then one solution (really ugly and hackish one) is to add your uid to | ||
27 | sysroot $BUILDDIR/tmp-eglibc/sysroots/genericx86/etc/passwd file. | ||
28 | |||
29 | If you see this error | ||
30 | |||
31 | log.do_install.16119:npm ERR! Error: shasum check failed for \ | ||
32 | /home/user/tmp/npm-16155/1392027924404-0.427580259507522/tmp.tgz | ||
33 | |||
34 | then just remove npm temp files like this | ||
35 | |||
36 | rm -rf ~/tmp/npm-* | ||
37 | |||
38 | |||
39 | You can connect to Steward UI at | ||
40 | |||
41 | https://eca.local:8888/ | ||
42 | |||
43 | Creating user and credentials can be done at | ||
44 | |||
45 | https://eca.local:8888/client.html | ||
46 | |||
47 | Console raw data can be seen at | ||
48 | |||
49 | https://eca.local:8888/console.html | ||
50 | |||
51 | Normally ECA management console would be found at port 80 but as the | ||
52 | steward controls that, the ECA web UI can be found at | ||
53 | |||
54 | https://eca.local:8080 | ||