webos-image: sleepd=22

:Release Notes:
logging - Changed free text logging information to KV Pair

:Detailed Notes:
Sleepd logging valuable information in free text fields

submissions/20..submissions/22
f95e69f  logging issue fix

:Testing Performed:
Tested for regressions on device

:QA Notes:

:Issues Addressed:
[GF-44127] Sleepd logging valuable information in free text fields
[GF-45036] CCC: sleepd=22

Open-webOS-DCO-1.0-Signed-off-by: Premalatha MVS <premalatha.mvs@lge.com>

Change-Id: I3816b812316d1420d6004eaa6ca27c5a4cf261c3
Reviewed-on: https://g2g.palm.com/3790
Reviewed-by: Build Verification
Reviewed-by: Gayathri Srinivasan <gayathri.srinivasan@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: pmloglib=42

:Release Notes:
Modify message id empty error message

:Detailed Notes:
"EMPTY_MSGID {} MSGID must not be empty"
Above error message is hard to find out where it has been generated.
So, it added it's part of log message at {} like below.
"EMPTY_MSGID {"MESSAGE":"your messages ..."} MSGID must not be empty"

submissions/42
c82599c Modify message id empty error message

:Testing Performed:
Compiled locally and tested on a device.

:QA Notes:

:Issues Addressed:
[GF-44815] pmloglib: Provide more information about the message
           when msgid is NULL or empty
[GF-45229] CCC: pmloglib=42

Open-webOS-DCO-1.0-Signed-off-by: Hongjeon Ha <hj.ha@lge.com>

Change-Id: Ib0488f917eac692613829889cc0cc9e9c43ae1ad
Reviewed-on: https://g2g.palm.com/3804
Build: Hongjeon Ha <hj.ha@lge.com>
Reviewed-by: Hongjeon Ha <hj.ha@lge.com>
Tested-by: Hongjeon Ha <hj.ha@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: db8=94

:Release Notes:
Change db8 start condition for last-input-app start time
Remove db8 unit tests from end user image
Fix db8 unit tests
Fix putPermission bug

:Detailed Notes:
submissions/92..submissions/94
0c2da3f luna-send usb-shard test
466d01d Change start condition of db8
56602f7 Reset transient flag for inserded media
0ab960d luna-send usb-shard test
e7597d7 Rename test service to mojodbmedia-test
ac13dfb Fix filter clause bug
55523ee Remove RPATH from tests binaries
a6e48d9 Fix putPermission bug
0f73d7b Fix db8 test_luna_service unit test
546590f Add permission files gtest_db_media

:Testing Performed:
mini-BAT : See GF-44340

:QA Notes:

:Issues Addressed:
[GF-42590] gtest_db_media: permission issue
[GF-41133] operations param issue regarding of putPermission
[GF-42588] test_luna_service: permissions issue
[GF-42592] test_db_core failed
[GF-36712] Remove db8 unit tests from the end-user image before ship
[GF-40665] QA: Run a thorough test of the shards support in DB8
[GF-44120] filter clause does not work well
[GF-44168] [Boottime] Optimize boot sequence
[GF-44352] Incorect behaviour when "isTransient" set for media usb stick
[GF-44340] CCC: db8=94

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <maxim.sditanov@lge.com>
Open-webOS-DCO-1.0-Signed-off-by: Sangwoo Kang <sangwoo82.kang@lge.com>
Change-Id: Id9b25193b4de7ad8aa4796a9197ed56bf3908569
Reviewed-on: https://g2g.palm.com/3743
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: Install all tzdata packages

:Release Notes:
Add the rest of packages built by the tzdata recipe to the build.
Without them we are missing time zones such as America/Phoenix and
many others.

:Detailed Notes:

:Testing Performed:
Build succeeded and contained all of the tzdata packages.

:QA Notes:

:Issues Addressed:
[GF-9101] Time is displayed wrong for a few time zones

Open-webOS-DCO-1.0-Signed-off-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Change-Id: Ifa73f3413509717a41c84fb02e87c1632ccbeaf1
Reviewed-on: https://g2g.palm.com/3810
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Tested-by: Nikolay Orliuk <nikolay.orliuk@lge.com>
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
base-files: Create webos_cryptofsdir

:Release Notes:
Create the initial /media/cryptofs directory.

:Detailed Notes:
Drop work around for /media/internal permissions, it's already fixed in
package.bbclass in meta-webos-backports.

Also, put back the parent directory of ${webos_db8datadir}/temp into
dirs700 so that it has the desired permissions.

:Testing Performed:
Only build tested and verified in buildhistory.

:QA Notes:
No functional change in image.

:Issues Addressed:
[GF-36175] base-files should create /media/cryptofs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I5ed77edcc6b7592125a39c17533e0cc7e393b360
Reviewed-on: https://g2g.palm.com/3809
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
base-files: Create pre-installed catalog apps directory

:Release Notes:
Create the directory for the pre-installed catalog apps (PICA-s) IPKs:
${webos_picapkgdir}.

:Detailed Notes:

:Testing Performed:
Confirmed that the image contains the directory with the expected
permissions.

:QA Notes:

:Issues Addressed:
[GF-42606] Ongoing metadata improvement/cleanup work

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Change-Id: I1d3e556099791a548d866fbe5a52cd8ef15112f7
Reviewed-on: https://g2g.palm.com/3628
Tested-by: Herb Kuta <herb.kuta@lge.com>
Build: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: pmloglib=44

:Release Notes:
Provide new API to check whether this is an official build
or a developer image to allow other logging components to
select the correct servers to use.

:Detailed Notes:
- This is to collect crash and analytic report from various
  development devices.

pmloglib: submissions/140
b923ec9 Change flag location to upload to SDP server
fde7701 Add logics to upload to local testing server

:Testing Performed:
Compiled locally and tested on a device.

:QA Notes:

:Issues Addressed:
[GF-42913] CCC: pmloglib=44

Open-webOS-DCO-1.0-Signed-off-by: Hongjeon Ha <hj.ha@lge.com>

Change-Id: I95754bb941b4f557b34ff652bddef9485db3c89e
Reviewed-on: https://g2g.palm.com/3814
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Tested-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: upstart=1.10

:Release Notes:
Upstart 1.10 adds some bug fixes and restores libupstart which was
removed in Upstart 0.6.0

:Detailed Notes:
Moving to Upstart 1.10 will be invisible to most as the API remains
exactly the same as it is in Upstart 1.8.
The list of installed files is the same as for the current
Upstart 1.8 - with all being located in /sbin.
Version 1.10 re-introduces libupstart which is packed in three new
packages.

:Testing Performed:
In addition to a miniBAT, long-term memory use is the same as
it was in 1.8 with no increase past initial amount.
Power cycles: 1121 power cycles with zero failures
Starting and stopping: testing many jobs passed (stopping all jobs
  is not practical as that will essentially kill the TV)

:QA Notes:

:Issues Addressed:
[GF-43901] Upgrade to Upstart 1.10
[GF-44834] CCC: upstart=v1.10

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

Change-Id: I9dc201fd3d9953af33c310ecb7fe4a1094cbde46
Reviewed-on: https://g2g.palm.com/3737
Reviewed-by: Build Verification
Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Tested-by: Ed Chejlava <ed.chejlava@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Revert "webos-image: pmloglib=44"

Revert https://g2g.palm.com/#/c/3814/ because of a build failure.

This reverts commit 218a3bdd89e5a8f2b2a068704b49c1b2c984ba2d.

Open-webOS-DCO-1.0-Signed-off-by: Susan Montooth <susan.montooth@lge.com>

Change-Id: I638024ad3f21e69ee298a3954db677033c1ad450
Reviewed-on: https://g2g.palm.com/3844
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: mojoservicelauncher=79

:Release Notes:
Changes to mojoservicelauncher to allow sending command-line arguments
to services at launch time, revers the order in which service libraries
are chosen, and enable running services on desktop build.

:Detailed Notes:
Services can now have command-line arguments passed to them on the 
command line, either when starting them manually, or when the hub 
starts them.

Also, if a service contains both sources.json and package.json, we load
webos-service instead of mojoservice. This is to ease porting from 
the old framework to the new.

changes:
35f81eb Pass additional command-line arguments to services
23eaf5b Allow desktop build to change LD_LIBRARY_PATH


:Testing Performed:
Tested that both mojoservice and webos-service based services still 
launch properly.

:QA Notes:

:Issues Addressed:
[GF-44509] run-js-service should pass additional command-line 
           arguments to services
[GF-44518] run-js-service should prefer loading from package.json, 
           when available
[GF-41673] desktop build fails to run nodejs based apps
[GF-46016] CCC: mojoservicelauncher=79

Open-webOS-DCO-1.0-Signed-off-by: Mark Bessey <mark.bessey@lge.com>

Change-Id: Ibdd5dda7636d89cec2c6de43e8970d36bfa2bf68
Reviewed-on: https://g2g.palm.com/3847
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: pmlogdaemon=113

:Release Notes:
Add ls-method that can create backup file for /var/log
to PmLogDaemon

:Detailed Notes:
New API will gather and compress all log files which are located in
/var/log should be backup to /var/spool/rdxd//previous_boot_logs.tar.gz

pmlogdaemon: submissions/113
e4aba12 Add ls-method to make backup file for /var/log

:Testing Performed:
Compiled locally and tested on a device.

:QA Notes:

:Issues Addressed:
[GF-43166] Add ls-method that can create backup file for /var/log
           to PmLogDaemon
[GF-45482] CCC: pmlogdaemon=113

Open-webOS-DCO-1.0-Signed-off-by: Hongjeon Ha <hj.ha@lge.com>

Change-Id: Id6c060444aadc5fefeea05f82deb3449279f110f
Reviewed-on: https://g2g.palm.com/3861
Reviewed-by: Build Verification
Reviewed-by: Hongjeon Ha <hj.ha@lge.com>
Tested-by: Hongjeon Ha <hj.ha@lge.com>
Reviewed-by: Earnest Son <earnest.son@lge.com>
Reviewed-by: Juhee Cho <juhee.cho@lge.com>
Reviewed-by: Jongho Kim <jongho1208.kim@lge.com>
Tested-by: Jongho Kim <jongho1208.kim@lge.com>
webos-image: pmloglib=45

:Release Notes:
Provide new API to check whether this is an official build
or a developer image to allow other logging components to
select the correct servers to use.

:Detailed Notes:
- This is to collect crash and analytic report from various
  development devices.

pmloglib: submissions/43...submissions/45
2760da2 Remove dependency on upload server
b923ec9 Change flag location to upload to SDP server
fde7701 Add logics to upload to local testing server

:Testing Performed:
Compiled locally and tested on a device.

:QA Notes:

:Issues Addressed:
[GF-42913] CCC: pmloglib=45

Open-webOS-DCO-1.0-Signed-off-by: Hongjeon Ha <hj.ha@lge.com>

Change-Id: I547304a5a352aa8d25e6ef55063c2a1d92d5c855
Reviewed-on: https://g2g.palm.com/3848
Reviewed-by: Hongjeon Ha <hj.ha@lge.com>
Tested-by: Hongjeon Ha <hj.ha@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Jongho Kim <jongho1208.kim@lge.com>
Tested-by: Jongho Kim <jongho1208.kim@lge.com>
packagegroup-webos-extended: Drop WEBOS_MISSING_FROM_RDEPENDS

:Release Notes:
Group the Enyo 1 components from WEBOS_MISSING_FROM_RDEPENDS into a
packageset named WEBOS_PACKAGESET_ENYO_1 and add it to the top level
RDEPENDS_${PN}, since we always want Enyo 1 to be a part of Open webOS
even if no component if Open webOS requires it. Move the other
components in WEBOS_MISSING_FROM_RDEPENDS into the RDEPENDS_${PN} lists
of the components that actually require them.

:Detailed Notes:
Weak assignments of default VIRTUAL-RUNTIME_* values have been added to
each recipe that references them so that meta-webos can be used by other
distros.

:Testing Performed:
Image content checked.

:QA Notes:

:Issues Addressed:
[GF-45647] packagegroup-webos-extended: Drop WEBOS_MISSING_FROM_RDEPENDS

Open-webOS-DCO-1.0-Signed-off-by: Iyad Qumei <iyad.qumei@lge.com>
Change-Id: I4b12e287bd8fa78a04f5681080a9dea1d9ba28f5
Reviewed-on: https://g2g.palm.com/3774
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
packagegroups-webos-{extended,test}: Move binutils to developer image

:Release Notes:
Binutils is not needed in the end-user image, but it's still useful to
have it available in the developer image (e.g. objdump).

:Detailed Notes:
binutils was originally identified as being used by some end-user
component of Open webOS, but this has turned out not to be the case.

:Testing Performed:
Built end-user image without binutils, booted target and performed basic
testing.

:QA Notes:

:Issues Addressed:
[GF-3170]  Determine if binutils can be removed from webOS images
[GF-4063]  Remove GPLv3 components from webOS end-user images
[GF-39419] CCC: parted=0; move binutils developer image

Open-webOS-DCO-1.0-Signed-off-by: Iyad Qumei <iyad.qumei@lge.com>
Change-Id: I580ddaa2b15d3267fa15bd050551df763861036f
Reviewed-on: https://g2g.palm.com/3486
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: parted=0

:Release Notes:
Remove parted from the image. It was originally identified as being used
by some end-user component of Open webOS, but this has turned out not to
be the case.

:Detailed Notes:

:Testing Performed:
"make webos-image" succeeded and confirmed that parted was not longer
present in the image.

:QA Notes:

:Issues Addressed:
[GF-4063]  Remove GPLv3 components from webOS end-user images
[GF-39419] CCC: parted=0; move binutils developer image

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ibe00fefa70fd1fb374723034f5f6475eba50df97
Reviewed-on: https://g2g.palm.com/3140
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: pmklogd=15-r3

:Release Notes:
Catch system OOM messages from kernel

:Detailed Notes:
Catch OOM messages and log them in system logs. Also create a file
with all the kernel OOM information which eventually gets into a
crash report generated by rdxd.

submissions/14..submissions/15
7a020c5 Report system OOM in the log

:Testing Performed:
Compiled locally

:QA Notes:

:Issues Addressed:
[GF-45165] pmklogd should catch OOM messages from kernel
[GF-46031] CCC: pmklogd=15-r3

Open-webOS-DCO-1.0-Signed-off-by: Gayathri Srinivasan <gayathri.srinivasan@lge.com>
Change-Id: I5559500898f6b0bc587db53c2f5f4b592bc0301c
Reviewed-on: https://g2g.palm.com/3863
Build: Gayathri Srinivasan <gayathri.srinivasan@lge.com>
Reviewed-by: Gayathri Srinivasan <gayathri.srinivasan@lge.com>
Tested-by: Gayathri Srinivasan <gayathri.srinivasan@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Jongho Kim <jongho1208.kim@lge.com>
Tested-by: Jongho Kim <jongho1208.kim@lge.com>
webos-image: activitymanager=118

:Release Notes:
Add support for comparing array values in where clause.

:Detailed Notes:
submissions/117..submissions/118
9a5f47a Enable MojoNewWhereMatcher to compare array value

:Testing Performed:

:QA Notes:

:Issues Addressed:
[GF-44448] How to query to match one of array has expected key:value
[GF-46181] CCC: activitymanager=118

Open-webOS-DCO-1.0-Signed-off-by: DongHeon Jang <dongheon.jang@lge.com>
Change-Id: Ia4978a4a128e50c354ad892951d44b4fb95ee724
Reviewed-on: https://g2g.palm.com/3883
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-image: luna-service2=161

:Release Notes:
Correct some memory leaks in the unit tests

:Detailed Notes:
There were a few missed cleanup functions and memory checker had
some complaints on this.

Test with deallocated mutex was removed from the incoming transport test.
test_clock and test_timersource were excluded from the `check` target
to speed up its execution.
submissions/160..submissions/161
126731c Fix memory cleanup in tests

:Testing Performed:
Re-ran full unit test suite and checked for leaks

:QA Notes:
Does not change the image.

:Issues Addressed:
[GF-45921] LS2: Investigate and fix potential memory leaks
[GF-46379] CCC: luna-service2=161

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

Change-Id: Ieea3067f02d867279239d49a4b2d1b510f0bca64
Reviewed-on: https://g2g.palm.com/3891
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-filesystem-paths: Add locations of fonts and SmartKey data

:Release Notes:
Add webos_fontsdir and webos_smartkeydatadir variables.

:Detailed Notes:

:Testing Performed:
The output from
  $ make BBFLAGS=-e pmloglib \
    | egrep 'export webos_(fonts|smartkeydata)dir'
shows that the variables have been set correctly.

:QA Notes:

:Build Notes:
This commit invalidates all shared state.

:Issues Addressed:
[GF-42606] Ongoing metadata improvement/cleanup work

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Change-Id: I2f05bf9bfc65f001b379ae542cb41babc55e93a1
Reviewed-on: https://g2g.palm.com/3899
Build: Herb Kuta <herb.kuta@lge.com>
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Iyad Qumei <iyad.qumei@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>