webos-image: luna-service2=156

:Release Notes:
Luna-service2 allows wildcards to be used in the "allowed-names" field
and for security to be enabled or disabled as a DISTRO feature.

:Detailed Notes:
Add additional folders to look for developer mode roles and services.
Add option to control security in configuration files.
Apply centralized nice script.
Add empty transport message stub singleton in failed messages.
Correct potential seg-faults
Implement wildcards for allowed-names field.

submissions/154..submissions/156
104394d Fix luna-service2 crashes on invalid JSON inputs
ee8a628 Add additional folders to look for roles/service
c60412f Fix permissions lookup for wildcards
ab0205a Add WEBOS_LS2_SECURE variable to control security
12c322f Apply centralized nice script
02a3d74 Add empty transport message stub for failed messages

:Testing Performed:
Minibat was done on the target

:QA Notes:

:Issues Addressed:
[GF-38331] luna-service2 must also search /var/palm/ls2-dev for roles
           and services
[GF-39397] Move the luna-service2 security setting to DISTRO_FEATURES
[GF-36804] Adjust NICE values for important processes
[GF-38362] luna-service2: Add empty transport message stub for failed
[GF-40551] CCC: luna-service2=155

Open-webOS-DCO-1.0-Signed-off-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>
Change-Id: Ic7f0c98d78787f8405caabcbc419d267790e71d3
Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-on: https://g2g.palm.com/3581
Reviewed-by: Build Verification
Reviewed-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>
Tested-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Tested-by: Keith Derrick <keith.derrick@lge.com>
webos-image: sleepd=19 alljoyn=r4

:Release Notes:
Modify process start time to support bootime

:Detailed Notes:
sleepd:
submissions/17..submissions/19
1afc8ad Remove 'stopped finish' start condition
cb4ae10 Modify process start time to support bootime
15e6687 Code Formatting Cleanup

alljoyn:
modify process start condition to "boot-done"

:Testing Performed:
miniBAT : See GF-40905

:QA Notes:

:Issues Addressed:
[GF-40905] CCC: sleepd=19 alljoyn=r4

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

Change-Id: Icf2a1ab36ce237a3f3216ee1ed062f0afd7c71fb
Reviewed-on: https://g2g.palm.com/3592
Reviewed-by: Sangwoo Kang <sangwoo82.kang@lge.com>
Reviewed-by: Build Verification
Tested-by: Sangwoo Kang <sangwoo82.kang@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: pmlogdaemon=112

:Release Notes:
Increase maximum number of outputs to 128 from 32.

:Detailed Notes:
PmLogDaemon could not create new module's log file because of the number
of outputs was restricted by 32. It was increased to 128.

submissions/111..submissions/112
1ad02a9 Increase number of maximum outputs

:Testing Performed:
Compiled locally and tested on a device.
- 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:

:Issues Addressed:
[GF-40897] pmlogdaemon: Number of maximum outputs are ...
[GF-41043] CCC: pmlogdaemon=112

Open-webOS-DCO-1.0-Signed-off-by: Hongjeon Ha <hj.ha@lge.com>
Change-Id: I30695ce21b627947bfeb7a2ef97df59d9419e2b2
Reviewed-on: https://g2g.palm.com/3604
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
nodejs: Fix build with long path to native sysroot

:Release Notes:
When path to native bindir exceeds 128 characters, npm cannot be
executed and e.g. node-gyp-native fails to install later.

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change in image.

:Issues Addressed:
[GF-2506]  Upgrade Node.js to v0.10
[GF-41162] CCC: nodejs=r1

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