webos.inc: Change definition of WEBOS_DISTRO_RELEASE_CODENAME

:Release Notes:
Consider the definition of WEBOS_DISTRO_RELEASE_CODENAME to contain two
fields: WEBOS_DISTRO_PLATFORM_CODENAME and WEBOS_DISTRO_BUILD_CODENAME,
separated by a hyphen.

:Detailed Notes:
WEBOS_DISTRO_PLATFORM_CODENAME names the major set of features of the
platform and WEBOS_DISTRO_BUILD_CODENAME names the series of builds that
expected that there will be several build codenames with the same
platform codename under active development at the same time. They
roughly correspond the the major and minor versions of DISTRO_VERSION,
but allow there to be a name to refer to them ahead of the assignment of
actual version numbers.

The defaults for these new variables have been set so that the value of
WEBOS_DISTRO_RELEASE_CODENAME is unchanged.

:Testing Performed:
Confirmed using:
  $ bitbake -e libpbnjson | grep 'WEBOS_DISTRO_.*_CODENAME='
that the values of these variables are as expected.

:QA Notes:

:Issues Addressed:
[GF-57856] Change definition of WEBOS_DISTRO_RELEASE_CODENAME
[GF-58280] CCC: Add support for branch builds

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>

Change-Id: I6785318aa6da92472673dbd04262e0a92d889ca6
Originally-reviewed-on: https://g2g.palm.com/4374
Cherry-picked-from-commit: c9bd462e2f6a9c7c77dc08edf7e2653fc4a512a9
Cherry-picked-from-branch: @acadia
Reviewed-on: https://g2g.palm.com/4395
Reviewed-by: DCO Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos.inc: Add the build codename to image names

:Release Notes:
Prefix WEBOS_IMAGE_NAME_SUFFIX with WEBOS_DISTRO_BUILD_CODENAME-. For
authoritative official builds, this has the effect of prefixing the
build number with the build codename.

:Detailed Notes:
Also
- Update the description of WEBOS_DISTRO_BUILD_ID to correspond to how
  it's currently being set.
- Have the value of WEBOS_IMAGE_NAME_SUFFIX include the leading hyphen
  so if other distros don't want to use it, the image filenames won't
  contain doubled hyphens.

:Testing Performed:
Confirmed using:
  $ bitbake -e starfish-flash | grep 'IMAGE_NAME='
that the of value is as expected.

:QA Notes:

:Issues Addressed:
[GF-57864] Add the build codename to the image names for branch builds
[GF-58280] CCC: Add support for branch builds

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>

Change-Id: I44f950962079c812542270fb6e09472d6a61ad7c
Originally-reviewed-on: https://g2g.palm.com/4375
Cherry-picked-from-commit: 132a9980bac2b876cebd1a79e138d7e478fd74c1
Cherry-picked-from-branch: @acadia
Reviewed-on: https://g2g.palm.com/4396
Reviewed-by: DCO Verification
Build: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
yajl: Add nobranch param to SRC_URI

:Release Notes:
1.0.12 tag isn't included in any branch.

:Detailed Notes:
Latest bitbake will fail to fetch this without nobranch param.

:Testing Performed:
Only build tested with latest upstream layers and bitbake.

:QA Notes:
No change to image.

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

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I77a66ce2bed8eafc2076df30c4f22493f2745cdc
Reviewed-on: https://g2g.palm.com/4370
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
tcf-agent: Remove unnecessary .bbappend

:Release Notes:
It's already resolved in oe-core revision we're using by
http://git.openembedded.org/openembedded-core/commit/?id=22bce79652fc753a7b5d536664b744e110b5775a

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

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

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ic19d718a1c2a4fce645f25364c0cf5537f498999
Reviewed-on: https://g2g.palm.com/4323
Reviewed-by: DCO Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos_qmake5: Add the qt binaries to WEBOS_EXTRA_PATH

:Release Notes:
With this change qt projects can refer to the 'rcc' (qt resource
compiler) in their project files

:Detailed Notes:

:Testing Performed:
Build a qt component that uses rcc

:QA Notes:

:Issues Addressed:

Open-webOS-DCO-1.0-Signed-off-by: Anupam Kaul <anupam.kaul@lge.com>

Change-Id: I986e1f408e42b36bd809b73b16cb63471d03ce18
Reviewed-on: https://g2g.palm.com/4382
Reviewed-by: DCO Verification
Reviewed-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Tested-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Reviewed-by: Juhee Cho <juhee.cho@lge.com>
Reviewed-by: Jongho Kim <jongho1208.kim@lge.com>
(cherry picked from commit d8f022cdf7b25995a1d914a213b509b53923be8a)
Reviewed-on: https://g2g.palm.com/4407
Reviewed-by: Mikko Levonmaa <mikko.levonmaa@lge.com>
Reviewed-by: Anupam Kaul <anupam.kaul@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
Allow world-read permissions for LS2 services

:Release Notes:
It should be safe for static LS2 services to be world-readable.

:Detailed Notes:

:Testing Performed:
Studied build logs.

:QA Notes:

:Issues Addressed:
[ANG-12] Fix build script for binary permissions checking to allow read
         permissions for all

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

Change-Id: I982ab3b78e660d729e18a460cddaecabec46d600
Reviewed-on: https://g2g.palm.com/4364
Reviewed-by: DCO Verification
Build: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
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>
sstatesig: Allow to cross target-native/cross/nativesdk boundary

:Release Notes:
We want to make sstate signatures even more strict to rebuild target
recipes when their native dependencies are changed.

:Detailed Notes:
Backport useful changes from latest oe-core as well.

:Testing Performed:
Only build tested and verified with bitbake-diffsigs +
sstate-diff-machine.sh.

:QA Notes:
No change to image.

:Build Notes:
Invalidates almost all sstate signatures.

:Issues Addressed:
[GF-51950] Build doesn't recognize bbappend-ed
           cmake-modules-webos-native as having changed

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I10e7ba96cd4639918e013e200e836a8a39a23bcc
Reviewed-on: https://g2g.palm.com/4267
Reviewed-by: DCO Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: luna-sysservice=33

:Release Notes:
Add ability to check if time was set using LSS: add new field in the
clock response to conclude which source was used to set the clock.
Also add information about the source of getEffectiveBroadcastTime.

:Detailed Notes:
submissions/31..submissions/33
e3a8e0a Add systemTimeSource property in response of EBT
9a61aa6 Add ability to check if time was set using LSS

:Testing Performed:
Mini BAT

:QA Notes:

:Issues Addressed:
[GF-58058] System can not tell whether the time has ever been set
[GF-58477] Need information about source of getEffectiveBroadcastTime
[GF-58462] CCC: luna-sysservice=33

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

Change-Id: Ia0cffb10c25fe1b24430dda7fe948176cf8cc573
Originally-reviewed-on: https://g2g.palm.com/4384
Reviewed-on: https://g2g.palm.com/4421
Reviewed-by: DCO Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-preferred-providers.inc: Add kernel-vmlinux to BAD_RECOMMENDATIONS

:Release Notes:
Don't install big kernel-vmlinux with oprofile.

:Detailed Notes:
/boot/vmlinux is uncompressed kernel with cca 200MB.

:Testing Performed:
Only build tested.

:QA Notes:

:Issues Addressed:
[GF-37538] Yocto kernel (emulator) is uncompressed and 200MB. Can we
           make it smaller?

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@lge.com>

Change-Id: I6467fbfef49b8b78ad469e07be51fc0a9bf6b964
Originally-reviewed-on: https://g2g.palm.com/4401
Reviewed-on: https://g2g.palm.com/4422
Reviewed-by: DCO Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
packagegroup-core-tools-profile: Conditionalize LTTng packages via bbappend

:Release Notes:
Only add the packages related to LTTng (lttng-ust, lttng-tools,
lttng-modules, and babeltrace) to packagegroup-core-tools-profile if
LTTng is enabled (WEBOS_LTTNG_ENABLED is "1")
.
:Detailed Notes:

:Testing Performed:
Confirmed using the output from:
  $ bitbake -e packagegroup-core-tools-profile | \
        grep RDEPENDS_packagegroup-core-tools-profile
that the LTTng-related packages are only present when
WEBOS_LTTNG_ENABLED is "1".

:QA Notes:

:Issues Addressed:
[GF-58032] LTTng dynamic libraries appear in the production image
[GF-58221] CCC: packagegroup-core-tools-profile=webos1

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

Change-Id: I012e4ac1b97f20fadabb91e6fcb7b532d0b41afa
Originally-reviewed-on: https://g2g.palm.com/4412
Reviewed-on: https://g2g.palm.com/4423
Reviewed-by: DCO Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
packagegroup-core-tools-profile: Fix parsing error

:Release Notes:
Fix bug in previous commit where the recipe would fail to parse if
WEBOS_LTTNG_ENABLED was undefined.

:Detailed Notes:

:Testing Performed:
Confirmed that "bitbake -e packagegroup-core-tools-profile" succeeded
with WEBOS_LTTNG_ENABLED undefined.

:QA Notes:

:Issues Addressed:
[GF-58032] LTTng dynamic libraries appear in the production image

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>

Change-Id: I6b9b10c73364db66843d1822a978c636336ff275
Reviewed-on: https://g2g.palm.com/4426
Reviewed-by: DCO Verification
Build: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>