db8=68

e7719b8 Fix issues with MojDBPerfIndexTest

Also update BB file to ensure libleveldb.so* aren't stripped by OE

Change-Id: I29663f0d76ab35a5000f02f6acc69cbfa6426ace
OpenSigned-off-by: Roger Stringer <roger.stringer@lge.com>
Reviewed-on: https://g2g.palm.com/2101
Reviewed-by: Roger Stringer <roger.stringer@lge.com>
Tested-by: Roger Stringer <roger.stringer@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: libpbnjson=11

bc702f4 add schema error reporting of unexpected data type
4117100 Fix building of automated tests
160535a remove checking "optional" in schema validation

CCC GF-5137

Open-webOS-DCO-1.0-Signed-off-by: Eric Blade <eric.blade@lge.com>

Change-Id: I4bdd935d61cff244b68eec609289787fe6627965
Reviewed-on: https://g2g.palm.com/2096
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos_qmake5: Remove unneeded code

* drop do_generate_qt_config_file, right config is already created
  by qmake5_base.bbclass
* drop QT_DIR_NAME already set by qmake5_base.bbclass
* drop export QT_CONF_PATH already done by qmake5_base.bbclass
* use EXTRA_QMAKEVARS_PRE to define WEBOS_* variables and
  qmake5_do_configure to respect debug flag and other possible flags

[GF-2010] Fix shared state issues with meta-qt5

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I5f1eae6f8c13f882e2aeae01563d4f07fbb02655
webos_qmake5: Use OE_QMAKE_PATH_* variables

[GF-2010] Fix shared state issues with meta-qt5

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I59117e66e1825a65a0a0b8b23fae3f538f03dd78
webos_qmake5: export MACHINE variable from MACHINE_ARCH recipes

* export WEBOS_QMAKE_MACHINE in do_configure
* export WEBOS_QMAKE_TARGET in EXTRA_OEMAKE
* export them only in MACHINE_ARCH recipes (inherit webos_machine_dep)
* a lot of recipes were exporting it in own do_configure
  this way we can check that only MACHINE_ARCH exports it
* recipe can define WEBOS_QMAKE_MACHINE variable, to use differnt
  MACHINE variable for project file and OE
* recipe can define WEBOS_QMAKE_TARGET variable, if it needs MACHINE
  variable defined for make (and again it doesn't need to match OE
  MACHINE)

[GF-2010] Fix shared state issues with meta-qt5

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I55faf50783601e7855c4bb2fb6bc90b6e67851c3
webos-image: luna-service2 = 150

Changes:
  dbe4ae6 Add introspection method
  126c4ab Add performance logging

Implements:
[GF-4548] Add performance log to LS2 for bus performance measurement
[GF-5361] Add introspection method to ls2 ...
[GF-5375] CCC: luna-service2 = 150

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@lge.com>

Change-Id: I989155fabe4e867fc2f0caf315a6ea5d34e5ee91
Reviewed-on: https://g2g.palm.com/2124
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Tested-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Add WEBOS_PACKAGESET variable for System Apps

CCC GF-5366

Open-webOS-DCO-1.0-Signed-off-by: Suresh Arumugam <suresh.arumugam@lge.com>

Change-Id: I0926cc652638a3f7eac8b87890f4a66ccdb24777
Reviewed-on: https://g2g.palm.com/2112
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Iyad Qumei <iyad.qumei@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
packagegroup-webos-test: Remove netperf

* Old netperf recipe
  (meta-oe/meta-oe/recipes-benchmark/netperf/netperf_2.4.4.bb)
  does not specify LICENSE_FLAGS but the COPYING file there explicitly
  says that it can not be distributed for non-commercial purposes.

* Newer recipe
  (meta-oe/meta-networking/recipes-support/netperf/netperf_2.6.0.bb)
  says that explicitly and builds with dylan correctly fails with:
  ERROR: netperf was skipped: because it has a restricted license
         not whitelisted in LICENSE_FLAGS_WHITELIST

* And LICENSE_FLAGS were update a bit
  http://git.openembedded.org/meta-openembedded/commit/?id=85ab35f4edac91ecc180161e97c6698f1c10928b

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Iff5642372fe996239f4ebe9ccb5ce0423b9e78d8
Reviewed-on: https://g2g.palm.com/2081
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
nyx-lib: Add explanation why nyx-modules pulled in by packagegroup

* PR intentionally not incremented

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: If1f3b5abd1a03641ef0bc59633695d71f2ad65bb
Reviewed-on: https://g2g.palm.com/2130
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
packagegroup-webos-test: Don't include valgrind for armv[456]*

* qemuarm webos-image-devel builds are failing, because
  valgrind does not support armv5te

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Icb9b89e33f5404b6228085419dc0492f2b611637
Reviewed-on: https://g2g.palm.com/2082
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
webos_oe_runmake_no_env_override.bbclass: Add another use case

Another scenario when this bbclass is needed is when a Makefile expects
to append to the CFLAGS, etc. that are passed in from the environment.

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Change-Id: If70057d3f49bfa4d96f75adc87af2eea0d0bda24
Reviewed-on: https://g2g.palm.com/2132
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: webos-connman-adapter=10

81b7d13 Fix daemon crash while deleting multiple removed services

[GF-4352] webos-connman-adapter crashes when wifi network is not visible anymore
[GF-5031] webos-image: webos-connman-adapter=10

Open-webOS-DCO-1.0-Signed-off-by: Sapna Todwal <sapna.todwal@lge.com>

Change-Id: I2df9012a6c97ed99d51f83ecd19c259ffeba29c0
Reviewed-on: https://g2g.palm.com/2138
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
upstart: add recipes for Upstart 1.8 and libnih

[GF-2635] Upgrade to Upstart 1.8

Add recipes for upstart 1.8 and libnih (required by upstart 1.8)
to meta-webos.

There are a handful of patch files for upstart since "our" cjson
uses a different header name and does not support 64-bit data
types. These changes will not be pushed upstream as they are
site specific.

There is also one patch to initctl that may be upstreamed since it
restores a documented funtion that we need that did not work.
(adding --global env vars from initctl command line)

The typical sysvinit rc* files have been removed as they were
actually not being used and just cluttered things up. Upstart
itself does not have any internal representation of the
traditional 'runlevel'.

Ideally all of the init.d scripts will be merged into the new
upstart .conf files if possible.

This change will be used in concert with changes to
initscripts as this new version of upstart changes the
location of its scripts (/etc/init now) and the naming style
(new files _must_ be called <component name>.conf)

Open-webOS-DCO-1.0-Signed-off-by: Ed Chejlava <ed.chejlava@lge.com>

Change-Id: I5be5ddd02e0aa9bdcc2d7854279e2b71eaadcd64
Reviewed-on: https://g2g.palm.com/1983
Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Tested-by: Ed Chejlava <ed.chejlava@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: pmloglib=28, pmloglib-private=28,v3.0.0, pmlogdaemon=103,v3.0.0

- Add glib and pbnjson dependencies
- Parse multiple JSON-formatted configuration files
- Add pmloglib-private to the build

Testing performed:
- Created a new test context
- Wrote a C program to log to this context, allowing
  the change to be verified
- Tested on desktop only

Changes to pmloglib:
1e0a571 Install the configured PmLogLib.h
8dc7ff1 Parse multiple JSON-format configuration files

Changes to pmlogdaemon:
7c69ce7 Parse multiple JSON-format configuration files

Addresses:
[GF-3771] Parse multiple JSON configuration files
[GF-4748] pmlogdaemon: Parse multiple config file

CCC: [GF-5349] pmloglib=28,pmloglib-private=28,v3.0.0,pmlogdaemon=103,v3.0.0

Open-webOS-DCO-1.0-Signed-off-by: Ameya Palande <ameya.palande@lge.com>
Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@lge.com>

Change-Id: I94974f5c0dc650021ad63c8a309d60d377d36404
Reviewed-on: https://g2g.palm.com/2128
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
recipes-upstreamable: Add recipes for sp-measure and sp-memusage

Add recipes for building the sp-measure and sp-memusage CPU-memory
monitoring tools from the open source Maemo project.

Open-webOS-DCO-1.0-Signed-off-by: Lokesh Kumar Goel <lokeshkumar.goel@lge.com>

Change-Id: I5beb21b3c7b589adba99cea116041c0708a94d4f
Reviewed-on: https://g2g.palm.com/2079
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image-devel: Add sp-memusage package

Add sp-memusage package to webos-image-devel. The sp-memusage tool is
used for monitoring:
- CPU utilization
- Memory use

Open-webOS-DCO-1.0-Signed-off-by: Lokesh Kumar Goel <lokeshkumar.goel@lge.com>

Change-Id: I641efc5d33f5dfe84b8596784f752b63b93357e4
Reviewed-on: https://g2g.palm.com/2080
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: leveldb=v1.10

[GF-4871] Upgrade leveldb from 1.9.0 to 1.10.0
[GF-5572] CCC: leveldb=v1.10.0

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I0af7bdbb196686b3c26467cb76e9930dc1d30876
Reviewed-on: https://g2g.palm.com/2149
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Roger Stringer <roger.stringer@lge.com>
Tested-by: Roger Stringer <roger.stringer@lge.com>