webos-image: db8=80

:Release Notes:
db8: submissions/79 updated to submissions/80

:Detailed Notes:
db8: #79...#80
- dce298f Create consistent soft link for removable media
- 16d35e8 Change some log levels within the PDM callback handler
- f1fa51c Revise parts of updating indexes of super kinds
- 7a7e70b Support hot-swapping of external devices
- f9576be Filter out records relating to inactive devices
- 0bf33d3 Extended API to the ID generation logic
- 4944643 USE_PMLOG lib cmake flag
- 9e6e2d7 Get device info-kind relation
- a74a5a7 Add initial support of com.webos.mediadb 'service'
- 6927d86 Add to PDM handler information about active db
- 08a806e Add ability to enable/disable PDM support
- eae2bb2 Implement Handling of PDM messages
- 1ac227e Restrict PmLogLib to version 3.0+
- a0e5907 Fix typo from 6e7fd99
- 9986464 Add device utilization to the 'put' command
- 7798fa6 Set 'transient' flag in device info record
- 5d5c73b Get info on a supported devices
- 5d87421 Refactoring: Services in MojDbLunaServiceApp
- 18ee9c6 Get list of active media
- dacd08c Move MojDbLunaServiceApp.h from src to inc
- fcb92f2 Add test of subscribing to PDM notifications
- 2098f18 Add -Wno-psabi compilation flag
- a2ba4da Extend and document MojDbShardManagerTest
- ea958bb Add second index for device path

:Testing Performed:
Unit tests run.
Mini-BAT

:QA Notes:
Some known failures in unit test which aren't believed to affect DB8

:Issues Addressed:
[GF-33479] CCC: db8=80
[GF-13311] DB8: Multi-depth and Multi-kindId inheritance does not work...
[GF-3563] DB8 Ext: Support hot-swapping of removable database
[GF-9286] DB8 Ext: Modify query results for search/find from multiple shards
[GF-11593] DB8 Ext: Add shard logic to LS2 method to get Shard/Kind...
[GF-31426] Update/add service files supporting com.webos.mediadb
[GF-31427] Update/add mediadb support in DB8
[GF-12007] DB8 Ext: Subscribe for notifications from PDM
[GF-11469] DB8 Ext: Add shard support to optional shard parameter on 'put'...
[GF-11594] DB8 Ext: Add shard logic to LS2 method to mark a shard as transient
[GF-11592] DB8 Ext: Add shard logic to LS2 method to get info on a shard
[GF-11591] DB8 Ext: Add shard logic to LS2 method for active media
[GF-13647] Docs needed for new test: MojDbShardManagerTest

Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@lge.com>

Change-Id: I4578a7f75e30de434c8af526149b76ef114e3875
Reviewed-on: https://g2g.palm.com/3212
Reviewed-by: Roger Stringer <roger.stringer@lge.com>
Tested-by: Roger Stringer <roger.stringer@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: novacomd=124

:Release Notes:
Novacomd now compiles with a newer eglibc.

:Detailed Notes:
A required header file was no longer included by a system header,
causing novacomd not to compile cleanly on device builds.

An older fix to parse the gateway IP address correctly is also picked
up.

Changes from submissions/123
----------------------------
49c77ee include sys/resource.h to fix build with newer eglibc
8aba58d Assign Copyright to LG Electronics, Inc.
36a639a Fix default gateway IP address parsing

:Testing Performed:
Tested on emulator for Open webOS.

:QA Notes:

:Issues Addressed:
[GF-5644]  Convert HP copyright to LG
[GF-16011] novacomd: Fix to compile with newer eglibc
[GF-33445] CCC: novacomd=124

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@lge.com>
Change-Id: Iffdeebeaaf324bf8253a54cef0453b125d70a00d
Reviewed-on: https://g2g.palm.com/3210
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
packagegroup-webos-extended: Add VIRTUAL-RUNTIME_novacomd

:Release Notes:
Allow other distros to replace novacomd with an alternative package.

:Detailed Notes:

:Testing Performed:
- Build was successful.
- MiniBAT.

:QA Notes:

:Issues Addressed:
[GF-19666] Allow the package that supplies novacomd to be selected by the
           distro
[GF-13301] CCC: packagegroup-webos-extended=r21

Open-webOS-DCO-1.0-Signed-off-by: Sangwoo Kang <sangwoo82.kang@lge.com>
change-Id: I89c778f4d2dbadd35bf3c55065e6dd4a7f33a446
Reviewed-on: https://g2g.palm.com/2984
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Tested-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Sangwoo Kang <sangwoo82.kang@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-preferred-versions: Fix entry for libsoup-2.4

:Release Notes:
libsoup-2.4 recipe is provided by meta-webos layer, so the recipe
here is used by default and PREFERRED_VERSION isn't really needed.

:Detailed Notes:
meta-webos supplies PREFERRED_VERSION_libsoup = "2.40.3", but the
actual package name is "libsoup-2.4", so it should read
PREFERRED_VERSION_libsoup-2.4 = "2.40.3".

:Testing Performed:
Only build tested - nothing was changed.

:QA Notes:
No change in image.

:Issues Addressed:
[GF-11453] libsoup-2.4 PREFERRED_VERSION not set properly in meta-webos

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ifca3cb6ecf24697df7f66f30f3de5f20f613acfa
Reviewed-on: https://g2g.palm.com/3162
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos_prebuilt_binaries: Add a bbclass for prebuilt binaries

:Release Notes:
If what's fetched by the SRC_URI for a component contains one or more
prebuilt binaries (perhaps in addition to source), then its recipe must
inherit from this bbclass.

:Detailed Notes:
If prebuilt binaries are only available for some of the supported
MACHINE-s, the inheriting recipe must set WEBOS_PREBUILT_BINARIES_FOR to
a space separated list of MACHINEOVERRIDE values for which the binaries
are available. WEBOS_PREBUILT_BINARIES_FOR is processed into a value
for COMPATIBLE_MACHINE.

:Testing Performed:
Only build tested and checked with bitbake -e and bitbake -n.

:QA Notes:
No change in image.

:Issues Addressed:
[GF-13889] Invent a bbclass to specify components with prebuilt binaries

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Change-Id: I1990444ccba76c9fbe63453eb382051e974eac48
Reviewed-on: https://g2g.palm.com/3133
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>
webos_machine_impl_dep: Allow WEBOS_TARGET_MACHINE_IMPL overrides

:Release Notes:
When a recipe inherits webos_machine_impl_dep, it can now use the
values of WEBOS_TARGET_MACHINE_IMPL (hardware, emulator, etc.) as
overrides. This is useful as a replacement for _qemux86 overrides
and providing an override for the "any MACHINE but qemux86" case.

:Detailed Notes:
WEBOS_TARGET_MACHINE_IMPL is checked after what's set by the
machine architecture .inc file, which is checked after MACHINE. This is
acccomplished by having webos_machine_impl_dep.bbclass set a new
variable WEBOS_EXTRA_MACHINEOVERRIDES and having webos.inc prepend
WEBOS_EXTRA_MACHINEOVERRIDES to MACHINEOVERRIDES. We deliberately assign
to WEBOS_EXTRA_MACHINEOVERRIDES and not append or prepend to it so that
the order of inherit statements will not affect the order of what's in
MACHINEOVERRIDES.

:Testing Performed:
Only build tested and checked with bitbake -e.

:QA Notes:
No change in image.

:Issues Addressed:
[GF-14231] Have webos_machine_impl_dep.bbclass allow
           WEBOS_TARGET_MACHINE_IMPL values to be used as overrides

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Change-Id: I53dd6abd9f173e8d2f0309e3dfe70855b1fc85cd
Reviewed-on: https://g2g.palm.com/2936
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>
webos_machine_impl_dep: Set PACKAGE_ARCH to MACHINE_ARCH

:Release Notes:
If there are MACHINE-s with different "machine implementations" but
with the same TUNE_PKGARCH, they will have the same package name unless
PACKAGE_ARCH is set to MACHINE_ARCH.

:Detailed Notes:
Is there a better way to handle this?

:Testing Performed:
Built novacomd with this change, and its package name was changed as
expected.

:QA Notes:

:Build Notes:
The package names of all of the components that are "machine
implemention" dependent will change.

:Issues Addressed:
[GF-33432] Correct the PACKAGE_ARCH of components that are "machine
           implementation" dependent

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Change-Id: Idfd9a61c86f7b2cce6ef2ec2750ee9a0414447d4
Reviewed-on: https://g2g.palm.com/3208
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
pmlogdaemon: Install LS2 role files

:Release Notes:
PmLogDaemon now installs its luna-service2 role files.

:Detailed Notes:
The recipe was missing an "inherit webos_system_bus" command, thus the
system bus files were not being installed. This mean that the LS2 API
for the daemon was not available.

From the console log of the most recent build:

WARNING: QA Issue: pmlogdaemon: Files/directories were installed but not shipped
  /usr/share/dbus-1
  /usr/share/ls2
  /usr/share/dbus-1/system-services
  /usr/share/dbus-1/system-services/com.webos.pmlogd.service
  /usr/share/ls2/roles
  /usr/share/ls2/roles/prv
  /usr/share/ls2/roles/prv/com.webos.pmlogd.json

Meta data change only. No CCC required.

:Testing Performed:
- Examine the console log and workspace for the verification build
  to ensure the files are now installed.
- Use luna-send to send a "status" message to the daemon

:QA Notes:

:Issues Addressed:
[GF-33829] Add LS2 security file for PmLogDaemon

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

Change-Id: If66160af9e336838b7a4587771e07a7f74323354
Reviewed-on: https://g2g.palm.com/3218
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Tested-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
webos-image: libpbnjson=19

:Release Notes:
101044a Fix crash in debug mode
be508ab Add ability to remove key/value pairs from JValue
e1e8bbe Pass yajl's error description to callback
6b00811 Add unit tests for additionalPeroperties keyword in schema validation
f96e729 Fix checking of disallowed types during schema validation
f6d767d Fix checking code for string type min/maxLength

:Detailed Notes:
Added few refinements to validation against schema.
Refined error reporting on JSON parse.
Added ability to remove properties from JSON objects.

:Testing Performed:
Unit tests were passed.
MiniBAT results attached to the task in Jira.

:QA Notes:

:Issues Addressed:
[GF-34327] CCC: libpbnjson=19
[GF-3287] Support removing properties on pbnjson objects
[GF-8625] Refine error messages when parsing JSON
[GF-9795] Write unit tests for schema validator
[GF-12798] pbnjson: disallowed types in schema validation doesn't work

Open-webOS-DCO-1.0-Signed-off-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>

Change-Id: I4cda503f6b6d0c830f733905051b7fc8a87089c4
Reviewed-on: https://g2g.palm.com/3233
Reviewed-by: Build Verification
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
pmlogdaemon: Add missing dependency on luna-service2

:Release Notes:
Fix pmlogdaemon failure to build after make clean-luna-service2.

:Detailed Notes:
Fails in do_configure with:
--   package 'luna-service2' not found
CMake Error at [...]FindPkgConfig.cmake:266 (message):
  A required package was not found

:Testing Performed:
Only build-tested.

:QA Notes:
No change in image.

:Issues Addressed:
No bug filed.

Open-webOS-DCO-1.0-Signed-off-by: Susan Montooth <susan.montooth@lge.com>
Change-Id: I97768f8e4b913e744872c932ef03a0e6dc8323c6
Reviewed-on: https://g2g.palm.com/3221
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>