webos-image: luna-sysservice=6 sntp=v4.2.6p5 ntp=0 ntp-tickadj=0

:Release Notes:
Add runtime dependency on sntp package from the existing ntp v4.2.6p5
component (whose version is now specified in
webos-preferred-versions.inc). With this submission, luna-syservice
uses sntp instead of ntpdate to support time get/set based on NTP.

:Detailed Notes:
luna-sysservice:
eb716d1 getNTPTime() doesn't work [use sntp instead of ntpdate]

:Testing Performed:
MiniBAT test. Feature test described by the next instruction:
$ luna-send -n 1 -f luna://com.palm.systemservice/time/getNTPTime '{}'

Expected result:
{
    "subscribed": false,
    "returnValue": true,
    "utc": 1372746542 // utc time must have value, not 0
}

:QA Notes:

:Issues Addressed:
[GF-10551] getNTPTime() doesn't work
[GF-13349] CCC: luna-sysservice=6 sntp=v4.2.6p5 ntp=0 ntp-tickadj=0

Open-webOS-DCO-1.0-Signed-off-by: Youngeun Kim <ye0607.kim@lge.com>
Change-Id: I66969aae2a2af8d7a6f7b55ba9ec96a4a78facb3s
Change-Id: I66969aae2a2af8d7a6f7b55ba9ec96a4a78facb3
Reviewed-on: https://g2g.palm.com/2801
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: pmcertificatemgr=28

:Release Notes:
Fix procedure of local certificates database creation in
case it's not exists during pmcerificatemgr initialisation.

:Detailed Notes:
The fixes in pmcertificatemgr between submissions/27..submissions/28:
c659fee Fix initialization issue of pmcertificatemgr

- Stop PmCertificateMgrService
- Delete local certs database directory (/var/ssl)
- Try to operate on local certificates database via service: add, delete,
  list
- All required files and directories were created successfully
- All operation were performed successfully
- This procedure were repeated several times

:QA Notes:

:Issues Addressed:
[GF-7979] pmcertificatemgr does not initialize
[GF-12828] CCC: pmcertificatemgr=28

Open-webOS-DCO-1.0-Signed-off-by: Viacheslav Belenko <viacheslav.belenko@lge.com>

Change-Id: I8f7aceacd34f50453acee5a7ef7a479cb20ad608
Reviewed-on: https://g2g.palm.com/3029
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: sleepd=16

:Release Notes:
Sleepd now recognizes leap years correctly, fixes some memory leaks, and
incorporates a documentation-only pull request from GitHub.

:Detailed Notes:
0ae4fff Doxygen docs
a0ddeca correctly validate supplied date
b8acd57 Fix memory leaks in service callbacks

:Testing Performed:
- Ran valgrind to confirm memory leak fix

:Issues Addressed:
[GF-7133] sleepd: Doesn't know how to recognize a leap year
[GF-13514] sleepd leaks memory when processing LS2 callbacks
[GF-13509] webos-image: sleepd=16

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

Change-Id: Iab9cc59c7e70bae969de4b2b44a94b8d4bd84e0a
Reviewed-on: https://g2g.palm.com/3095
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: pmloglib=37, pmlogctl=16

:Release Notes:
- Fix bug for debug messages for PmLogDebug()
- Modify error message for PmLogString()
- Add option "-s" to disable stdout for pmlogctl

:Detailed Notes:
PmLogDebug() should not have kv-pairs so that should be added
empty curly braces like "{}".
The logic for adding that has some bugs so fixed it.
PmLogString() does not give message id when the json parsing
is failed for key-value pairs.
Providing option(-s) to disable standard outputs

Changes included in pmloglib submissions/35../37
f2b0432 Modify error message
7c19bb7 Fix bug for debug messages

Changes included in pmlogctl submissions/14../16
a66bfbe All printf() replaced with ErrPrint()
55ea968 Add option to silence the standard outputs
5948d88 Modify command logkv

:Testing Performed:
Compiled locally and tested on a device.
- PmLogCtl has used to test this fixing.
- Full clean local build performed to ensure no components failed
  to compile due to use of the -Werror option.A
- Verification build pulled down for mini-BAT

:QA Notes:
For the test information, refer to GF-13167

:Issues Addressed:
[GF-13167] CCC: pmloglib=37, pmlogctl=16
[GF-13166] Debug messages are not recorded properly
[GF-13240] pmloglib: INVALID_JSON does not give message id
[GF-13241] Pmlogctl reports normal situations as errors ...
[GF-13252] pmlogctl expects at least one key-value pair in logkv

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

Change-Id: Ifd4411d85a0abcd31a4b5c39c124045a2f8eaf68
Reviewed-on: https://g2g.palm.com/3074
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
librolegen: Fix incorrect WEBOS_GIT_TAG value

:Release Notes:
Fix WEBOS_GIT_TAG to include the 'submissions/' prefix that its tags
have.

:Detailed Notes:
librolegen repository doesn't have tag '18' only 'submissions/18'
$ git tag -l
submissions/16
submissions/17
submissions/18
versions/2.0.0
versions/2.1.0

It was working correctly until now, just because we were lucky.
From git help ls-remote:
  When <refs>... are specified, only references matching the given
  patterns are displayed.
Hence:
$ git ls-remote git://github.com/openwebos/librolegen 18
  cbedc69733f65cd2f498787a621c014e219d38ab   refs/tags/submissions/18
$ git ls-remote git://github.com/openwebos/librolegen 17
  af5b0e7b514938d5589c89ab9508ad23dce43e98   refs/tags/submissions/17
$ git ls-remote git://github.com/openwebos/librolegen
  9040954a24115b05219e7dd459dcf91ad05cc739   HEAD
  9040954a24115b05219e7dd459dcf91ad05cc739   refs/heads/master
  85524970dba46557d3c9672455a4a88165efe7f1   refs/notes/review
  7aa394eea6bd76618337772894f7615d0ae8e13a   refs/tags/submissions/16
  af5b0e7b514938d5589c89ab9508ad23dce43e98   refs/tags/submissions/17
  cbedc69733f65cd2f498787a621c014e219d38ab   refs/tags/submissions/18
  9040954a24115b05219e7dd459dcf91ad05cc739   refs/tags/submissions/18^{}
  7aa394eea6bd76618337772894f7615d0ae8e13a   refs/tags/versions/2.0.0
  af5b0e7b514938d5589c89ab9508ad23dce43e98   refs/tags/versions/2.1.0

So if someone creates a tag 'foo/18', ls-remote will return both lines
and the build will fail.

I'll submit an improvement to bitbake git fetcher based on this:
http://lists.openembedded.org/pipermail/bitbake-devel/2013-August/003724.html

:Testing Performed:
Only build tested.

:QA Notes:
No change in image.

:Issues Addressed:
[GF-5328]  Improve build performance and allow to build completely from
           PREMIRROR
[GF-12492] Convert from setting PREFERRED_VERSION centrally to setting
           WEBOS_VERSION in each recipe

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I2203b8c6f5f0846dbef368cc3882c0abe3bd127a
Reviewed-on: https://g2g.palm.com/3055
Reviewed-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>
mojoservice-frameworks: Fix WEBOS_GIT_TAG

:Release Notes:
Fix WEBOS_GIT_TAG and inherit webos_enhanced_submissions

:Detailed Notes:
mojoservice-frameworks doesn't have tag '3', but 'submissions/3'
$ git tag -l
1.0
submissions/2
submissions/3
versions/1.1

See recent change to librolegen (https://g2g.palm.com/#/c/3055 
3eb2c6275d92ccc925925578d350bc91f9e40037) for more details.

:Testing Performed:
Only build tested.

:QA Notes:
No change in image.

:Issues Addressed:
[GF-5328]  Improve build performance and allow to build completely from
           PREMIRROR
[GF-12492] Convert PREFERRED_VERSION to WEBOS_VERSION and modify
           webos_enhanced_submissions.bbclass

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I1b7687528a754ec25372eb17098216801fe421b2
Reviewed-on: https://g2g.palm.com/3056
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
foundation-frameworks: Fix WEBOS_GIT_TAG

:Release Notes:
Fix WEBOS_GIT_TAG and inherit webos_enhanced_submissions.

:Detailed Notes:
foundation-frameworks doesn't have tag '3', but 'submissions/3'
$ git tag -l
1.0
1.0.1
submissions/2
submissions/3
versions/1.1

See recent change to librolegen (https://g2g.palm.com/#/c/3055 
3eb2c6275d92ccc925925578d350bc91f9e40037) for more details.

:Testing Performed:
Only build tested.

:QA Notes:
No change in image.

:Issues Addressed:
[GF-5328]  Improve build performance and allow to build completely from
           PREMIRROR
[GF-12492] Convert PREFERRED_VERSION to WEBOS_VERSION and modify
           webos_enhanced_submissions.bbclass

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I64c4ed0c9607d6aef51020362009d99234c49330
Reviewed-on: https://g2g.palm.com/3057
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
buildhistory: Change default BUILDHISTORY_DIR to TOPDIR

:Release Notes:
* Like PERSISTENT_DIR, I expect BUILDHISTORY_DIR to be more persistent
  than the TMPDIR directory is.
* WARNING: People with existing checkouts in TMPDIR/buildhistory
  need to move it to new location first (in order to save history)

:Detailed Notes:
Backport of oe-core commit d3ad9a4c573fec08b5606a4c3e86f93cb95e8718

:Testing Performed:
Build tested, buildhistory output checked.

:QA Notes:
No change in image.

:Issues Addressed:
[GF-3127] Backport newer buildhistory.bbclass
[GF-9902] Disable checking for package version decreases

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: I1ca40045921c649aafbdc616ee552e10f293b9e7
Reviewed-on: https://g2g.palm.com/3045
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
buildhistory: track contents of selected files in images

:Release Notes:
Add a BUILDHISTORY_IMAGE_FILES variable specifying a space-separated
list of files within an image to copy into buildhistory, so that changes
to them can be tracked. Typically this would be used for configuration
files, and by default this includes /etc/passwd and /etc/group, but the
user is free to extend this list by setting the variable in local.conf.

:Detailed Notes:
Backport of oe-core commit ed6bb6e3db518082d3a9c45d548bc1339be2c5ca

Implements [YOCTO #4154].

:Testing Performed:
Build tested, buildhistory output checked.

:QA Notes:
No change in image

:Issues Addressed:
[GF-3127] Backport newer buildhistory.bbclass
[GF-9902] Disable checking for package version decreases

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: I39950cda78ca2aad7cc3fe204e495225502153ea
Reviewed-on: https://g2g.palm.com/3046
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
buildhistory: record removals in buildhistory directory

:Release Notes:
"git add ." does not record files that were removed in the buildhistory
directory. Specify the -A flag to also record removals.

This was discovered by the following warning added in Git 1.8.3:
warning: You ran 'git add' with neither '-A (--all)' or '--ignore-removal',
whose behaviour will change in Git 2.0 with respect to paths you removed.

:Detailed Notes:
Backport of oe-core commit a45a247e2cfa58892a0c9eb050d603a38cd839db

:Testing Performed:
Build tested, buildhistory output checked.

:QA Notes:
No change in image

:Issues Addressed:
[GF-3127] Backport newer buildhistory.bbclass
[GF-9902] Disable checking for package version decreases

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: I441f5a2591e7ee2d30100c8917f9af7d48e39497
Reviewed-on: https://g2g.palm.com/3047
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
buildhistory: split SDK data by IMAGE_NAME

:Release Notes:
Data from SDKs produced from different images or different
meta-toolchain style recipes should go into separate directories,
since SDK_NAME doesn't include anything to differentiate these by
default (only pieces for the distro name and architectures).

WARNING: Note you should delete or move existing data under the
buildhistory/sdk/directory manually after applying this change.

:Detailed Notes:
Backport of oe-core commit 74658b66530184b0287152397341fbe411e90c71

Fixes [YOCTO #4622].

:Testing Performed:
Build tested, buildhistory output checked.

:QA Notes:
No change in image

:Issues Addressed:
[GF-3127] Backport newer buildhistory.bbclass
[GF-9902] Disable checking for package version decreases

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I7be598b1786eb18eee7b5269f1f941a0fcced70b
Reviewed-on: https://g2g.palm.com/3048
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
buildhistory: fix error when no packages are installed

:Release Notes:
xargs -n1 basename" will execute basename even if there are no lines
piped into it, causing a "basename: missing operand" error if no
packages are installed, which will happen for the target portion of
buildtools-tarball.

:Detailed Notes:
Backport of oe-core commit 03d86123e9e804e62de38effd307f070d7863080

xargs' -r option could have been used here, but it is a GNU extension
and I thought it best to avoid that for the sake of future
interoperability.

:Testing Performed:
Build tested, buildhistory output checked.

:QA Notes:
No change in image.

:Issues Addressed:
[GF-3127] Backport newer buildhistory.bbclass
[GF-9902] Disable checking for package version decreases

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Id5b0cf08d7097df588972f9e3246d9ba302917eb
Reviewed-on: https://g2g.palm.com/3049
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
buildhistory: add a note when committing to buildhistory

:Release Notes:
If there's been a lot of changes the commit to buildhistory can take a
significant amount of time, so print a note so there's some indication
of progress.

:Detailed Notes:
Backport of oe-core commit ccd911ba8887f5c9a72d5178617c2a3ee73264ff

:Testing Performed:
Build tested, buildhistory output checked.

:QA Notes:
No change in image

:Issues Addressed:
[GF-3127] Backport newer buildhistory.bbclass
[GF-9902] Disable checking for package version decreases

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: Icc61258597c118dfaafa8b7f8ffb5ed89dfdc340
Reviewed-on: https://g2g.palm.com/3050
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
buildhistory: use package_qa_handle_error for version-going-backwards

:Release Notes:
This way it's easier for a distro to select if this issue should be
considered an error, warning or ignored, and also it gets recorded in
qa.log .

:Detailed Notes:
Backport oe-core commit
http://lists.openembedded.org/pipermail/openembedded-core/2013-August/082351.html

:Testing Performed:
Build tested, buildhistory output checked.

:QA Notes:
No change in image

:Issues Addressed:
[GF-3127] Backport newer buildhistory.bbclass
[GF-9902] Disable checking for package version decreases

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: I191a0d00e1ddc4780d09a235d81ff5c597063404
Reviewed-on: https://g2g.palm.com/3051
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>