recipes: Replace PR_append with EXTENDPRAUTO_append

:Release Notes:
Non-numeric PR_appends unlike PRINC doesn't provide stable versioning.

:Detailed Notes:
When .bbappend in layer A (with lower BBFILE_PRIORITY) adds
PR_append = "foo1"
and later layer B adds .bbappend for the same recipe with
PR_append = "bar1"
then version goes backward from "1.0-r0foo1" to "1.0-r0bar1foo1".
That's why PRINC was introduced to allow combining multiple .bbappends
while ensuring always increasing overall version, but we're not using
PRINC.

:Testing Performed:
PR_appends are moved to last part of PR, not before numeric value from
PR service or BB_TASKHASH.

:QA Notes:
Version string of all installed components will change, but not the
content.

:Issues Addressed:
[GF-13471] Assign to EXTENDPRAUTO_append instead of PR_append in
           .bbappend-s

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I6b76ef62e4924897f35c0aa44625de810a58f552
Reviewed-on: https://g2g.palm.com/3033
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>
base-files: Add bbappend to mount /var/db/temp at tmpfs

:Release Notes:
Allocate storage in RAM for com.palm.tempdb by adding a tmpfs entry for
/var/db/temp to /etc/fstab. Its size is set to 32MB.

:Detailed Notes:
Added validation for fstab to ensure that only one record exists per
mount-point.

:Testing Performed:
Verified that build of base-files produced a package with correct
contents (folders with correct permissions and fstab).

:QA Notes:

:Issues Addressed:
[GF-1826]  DB8: Qualify support of in-memory database
[GF-23954] CCC: Add base-files=webos1

Open-webOS-DCO-1.0-Signed-off-by: Nikolay Orliuk <nikolay.orliuk@lge.com>

Change-Id: I9e6dd5800627e9d8c9c051fd7b54c38620cb7403
Reviewed-on: https://g2g.palm.com/2688
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: app-services=4

:Release Notes:
Include "Fix "start on" in upstart 1.8 job file" app-services
fix in webos-image

:Detailed Notes:
In /etc/init/, createLocalAccount.conf was starting too early -
on <codename>-luna-surface-manager.  Move to more appropriate
"stopped configurator"

submissions/3..submissions/4:
021d509 fix Upstart 1.8 file start on

:Testing Performed:
miniBAT with results attached to GF-17224

:QA Notes:

:Issues Addressed:
[GF-17224] change name of upstart 1.8 file to remove a codename
[GF-2635] Upgrade to Upstart 1.8

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

Change-Id: I8c423c6b8b4d32ea4dc5d0d550319692a37b1dc5
Reviewed-on: https://g2g.palm.com/3143
Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Tested-by: Ed Chejlava <ed.chejlava@lge.com>
Reviewed-by: Sangwoo Kang <sangwoo82.kang@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Revert "recipes: Replace PR_append with EXTENDPRAUTO_append"

This reverts commit 92bb7ab19ecc5e0b9eddb85311aedc146c9de561.
This slipped in before everything else was ready. Sorry for any
inconvenience.

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

:Release Notes:
Drop patch which is not needed anymore cause we're starting
wpa-supplicant by dbus auto activation.

:Detailed Notes:
The patch was required as we started wpa-supplicant manually and not
with dbus auto acivation as required by connman. As this is reworked
now we don't have to apply the patch anymore but will continue to
ship as part of our internal connman repository.

:Testing Performed:
Created a complete build and tested it on target device by verifying
that wireless network is still working correctly (scanning, connect
to secure network, disconnect).

:QA Notes:

:Issues Addressed:
[GF-13326] Integrate WiFi direct into the build
[GF-16646] CCC: connman=2

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <simon.busch@lge.com>

Change-Id: I9acb281bf388f43e1373a69b7832b18914905849
Reviewed-on: https://g2g.palm.com/3128
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: pmklogd=12, pmlogdaemon=108

:Release Notes:
Modified start point in upstart 1.8 script

:Detailed Notes:
- The mountall script is deleted in upstart 1.8.
- Therefore, services which use the mountall event shoud be changed.
- Start event of pmklog is modified to mount-readwrite.
- start event of pmlogdaemon is modified to ls-hubd_private-ready.

Changes included in pmkloglib submissions/11../12
2067bf9 pmklogd: Change start event to mount-readwrite

Changes included in pmlogdaemon submissions/107..submissions/108
2390fc5 Add ls2 method to provide force rotate mainstream

:Testing Performed:
Local Build is ok.
MiniBAT : PASS (See GF-27647)

:QA Notes:
This change can be tested in upstart 1.8 env.

:Issues Addressed:
[GF-7725] pmlogdaemon: Add ls2 method in pmlogdaemon to force
    log rotate and upload
[GF-27426] Change start event of pmklogd to mount-readwrite
[GF-27647] CCC: pmklogd=12, pmlogdaemon=108

Open-webOS-DCO-1.0-Signed-off-by: Sangwoo Kang <sangwoo82.kang@lge.com>

Change-Id: I689549307a3865ca99d0bc4e840e02eb918c7588
Reviewed-on: https://g2g.palm.com/3173
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: nyx-lib=67,v5.2.0 nyx-modules=90,v5.2.0 nyx-utils=10,1.0.0~rc4

:Release Notes:
Nyx now supports the WEBOS_DISTRO_MANUFACTURING_VERSION OS Info setting
required by GF-12714 (Supply a "manufacturing version" for webOS).

:Detailed Notes:
The OSInfo interface now provides the NYX_OS_INFO_MANUFACTURING_VERSION
query enumeration value for modules to implement. For GF-12714 to be
complete, WEBOS_DISTRO_MANUFACTURING_VERSION must be defined in
<distro>.conf .

These submissions also pick up the new copyright messages for
nyx-modules and nyx-lib.

Changes to nyx-lib
------------------
7563f1e Add Manufacturing Version Query to OSInfo module
020c63c Assign Copyright to LG Electronics, Inc.

Changes to nyx-modules
----------------------
d24d7cd Implement NYX_OS_INFO_MANUFACTURING_VERSION query
6fc674a Assign Copyright to LG Electronics, Inc.

Changes to nyx-utils
--------------------
94841af Support the manufacturing version query for OSInfo

:Testing Performed:
Tested via SSH and command line.

:QA Notes:

:Issues Addressed:
[GF-13442] nyx-lib: Add NYX_OS_INFO_MANUFACTURING_VERSION query to
           OSInfo
[GF-13449] nyx-modules: Add implementation of OSInfo query
           NYX_OS_INFO_MANUFACTURING_VERSION
[GF-13455] nyx-cmd: Add support for NYX_OS_INFO_MANUFACTURING_VERSION
           query
[GF-30377] CCC: nyx-lib=67,v5.2.0 nyx-modules=90,v5.2.0
           nyx-utils=10,1.0.0~rc4

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@lge.com>
Change-Id: I5c2ddec85803733209e141038f94604f24dc6d2c
Reviewed-on: https://g2g.palm.com/3174
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: nodejs-module-webos-sysbus=29

:Release Notes:
Fixed an occasional crash in node.js services
Made sure the node.js luna-bus roles files are
installed in the image. This will allow ls2 security
to be turned back on.

:Detailed Notes:

:Testing Performed:

Installed built package, ran accounts service, security warnings about
permissions when registering disappeared

:QA Notes:

:Issues Addressed:
[GF-13212] fix nodejs-module-webos-sysbus to be able to push roles
[GF-25567] nodejs crash due to pollwMap iterator invalidation

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

Change-Id: I9e51f3cffa0b826681d3755e7472b93ccf527710
Reviewed-on: https://g2g.palm.com/3155
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: luna-service2=152, serviceinstaller=2, librolegen=19

:Release Notes:
Moved ls-control to /usr/sbin to improve LS2 security for jailed
applications.

:Detailed Notes:
luna-service2: submissions/151..submissions/152
8189c1e Hide ls-control to /usr/sbin
39aa1df Update test suite

serviceinstaller: submissions/1.02..submissions/2
a579f1e Move ls-control to /usr/sbin
d971877 Assign Copyright to LG Electronics, Inc.
f5a884c Add build instructions

librolegen: submissions/18..submissions/19
38430ed Move ls-control to /usr/sbin

:Testing Performed:
MiniBAT

:QA Notes:

:Issues Addressed:
[GF-22538] CCC: luna-service2=152, serviceinstaller=2, librolegen=19,
    applicationinstalerutility=8, appinstalld=10
[GF-13493] Hide ls-control to /usr/sbin

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

Change-Id: I3eb4b3732fdff8331a3af1add570a531409594ff
Reviewed-on: https://g2g.palm.com/3145
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image.bbclass: Support read-only rootfs when using Upstart 1.8

:Release Notes:
Added ROOTFS_READ_ONLY setting to /etc/init/SetInitEnv.conf since
/etc/default/rcS isn't used with Update 1.8 .

:Detailed Notes:
Also modified webos_read_only_rootfs_hook() to look for a
ROOTFS_READ_ONLY setting to correct in /etc/init/SetInitEnv.conf as well
as in /etc/default/rcS.

If both /etc/default/rcS and /etc/init/SetInitEnv.conf are not found,
then ROOTFS_READ_ONLY will not be properly passed to the init process,
and therefore this class file must be modified to remedy that issue.

NOTE: Name of the script SetInitEnv.conf will be changed by GF-12676.

:Testing Performed:
- Built squashfs image is done successfully using Upstart 1.8 with all
  the changes in GF-11551.
- MiniBAT (see GF-11551)

:QA Notes:

:Issues Addressed:
[GF-12738] squashfs image fails to build when using Upstart 1.8

Open-webOS-DCO-1.0-Signed-off-by: Wonhong Kwon <wonhong.kwon@lge.com>
Change-Id: I5394af77d10619c65d89fece66a1ed87ea01371f
Reviewed-on: https://g2g.palm.com/3005
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: cmake-modules-webos-native=16,v1.0.0~rc5

:Release Notes:
cmake-modules-webos now supports the use of the gtest unit testing
framework. It also makes all WEBOS_INSTALL_* path definitons directly
available for use in source code without configuring.

:Detailed Notes:
Invoking webos_use_gtest() in a top level CMake script now finds and
builds the gtest library so that it is available for component unit
tests.

Invoking webos_include_install_paths() in a top level CMake script makes
all WEBOS_INSTALL_* paths avaiable within all C and C++ source code as
quoted strings, with identical names, enabling them to be used without
needing to rename the source file with a ".in? extension and configuring
it with webos_configure_source_files().

There are now WEBOS_INSTALL_* variabled defined for every filesystem
path variable defined in webos-filesystem-paths.inc

changes to cmake-modules-webos
5604213 Add webos_include_install_paths function
0598280 Add webos_use_gtest()
f50858e Add new WEBOS_INSTALL_* variables
10ab6c0 Replace leading spaces with tabs
15f8cf3 Revert "Implement webos_build_gtest()"
dd42377 Implement webos_build_gtest()
bbf0d4e Assign Copyright to LG Electronics, Inc.

:Testing Performed:
These changes have no impact on the image. Testing consisted of a clean
system build.

:QA Notes:

:Issues Addressed:
[GF-5644]  Convert HP copyright to LG
[GF-11274] Add function to cmake-modules-webos to allow projects to use
           gtest
[GF-23920] Make all WEBOS_INSTALL_* definitions available to source code
[GF-30099] cmake-modules-webos: Add new WEBOS_INSTALL_* variables for
           paths added to webos-filesystem-paths.inc
[GF-31999] CCC: cmake-modules-webos-native=16,v1.0.0~rc5

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@lge.com>
Change-Id: Iaa9daa1ca0d46887223ff7f131119a7101a11371
Reviewed-on: https://g2g.palm.com/3187
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: nyx-utils=11,v1.0.0

:Release Notes:
nyx-utils is published on github as an open source component, with a
version of 1.0.0.

:Detailed Notes:
The recipe for nyx-utils has always resided in meta-webos, but the
actual source code was not approved for release until recently.

This commit takes the component to an official 1.0.0 version.

All copyrights are assigned to LG Electronics.

Changes to nyx-utils
6a51f90 (Finally) Release nyx-utils 1.0.0 to the public

:Testing Performed:
This is a build time change only. Code changes affect only comments
other than finalizing the version number.

:QA Notes:

:Issues Addressed:
[GF-5644]  Convert HP copyright to LG
[GF-8118]  nyx-utils recipe fails to build in build-webos
[GF-32659] Release Nyx-utils to the public

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

Change-Id: If44f9920e25907beef9aa5d156f236297c8003dc
Reviewed-on: https://g2g.palm.com/3196
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
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>