webos-image: pmlogctl=13

:Release Notes:
Debug messages can be recorded at mainstream properly.

:Detailed Notes:
Debug messages could not be recorded at mainstream because some
bugs that are number of parameter and wrong compare statements.
Additionally, help menu has been updated for debug string.

Changes included in submissions/13
65a995b Fix bugs

:Testing Performed:
Compiled locally and tested on a device.
- PmLogCtl used to attempt to send debug messages
  output inspected to ensure warnings occurred only when expected.
- 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:
Use command below.
PmLogCtl logkv mycontext debug "free test for debugging"
You can see the log message at /var/log/messages.

:Issues Addressed:
[GF-10475] Debug messages should be recorded at mainstrem properly
[GF-11181] CCC: pmlogctl=13

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

Change-Id: I04fee0cfe53bfc0539059de5b7ab7838c41ff918
Reviewed-on: https://g2g.palm.com/2937
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>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: librolegen=18,v2.1.0

:Release Notes:
Install NDK template files, change template files into NDK,
add LGE copyrights, fix build problems.

:Detailed Notes:
9040954 Support old function name (pdkGenerateRole) for other components
ed1ac82 Assign Copyright to LG Electronics, Inc.
af5b0e7 Merge "Change template files into NDK"
06bf72e Change template files into NDK
15e7190 Install NDK template files
04bc2c2 Correct the license block in README.md

:Testing Performed:
Tested buildability. Mini BAT test.

:QA Notes:

:Issues Addressed:
[GF-9488] Support old function name (pdkGenerateRole) for other module
[GF-5644] Convert HP Copyright to LG
[GF-5388] Install NDK Template files for librolegen
[GF-6163] Change template file into NDK for librolegen

[GF-10668] CCC: librolegen=18

Open-webOS-DCO-1.0-Signed-off-by: Daniel Gunn <daniel.gunn@lge.com>

Change-Id: Icf75b03f491e5bd7193dce19556c8e84e30f66b9
Reviewed-on: https://g2g.palm.com/2744
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Oleg Yablokov <oyablokov@luxoft.com>
Reviewed-by: Build Verification
Reviewed-by: Alan Levi <alan.levi@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
upstart: Add ROOTFS_READ_ONLY variable

:Release Notes:
Add the ROOTFS_READ_ONLY variable added by Yocto 1.4 to /etc/default/rcS
to Upstart's rcS. This variable indicates whether the rootfs has been
built to be read-only.

:Detailed Notes:

:Testing Performed:
1) MiniBAT
2) This change was tested as part of the full solution for read-only
   rootfs.

:QA Notes:

:Issues Addressed:
[GF-6589] Update scripts and programs for read-only rootfs

Open-webOS-DCO-1.0-Signed-off-by: Iyad Qumei <iyad.qumei@lge.com>
Change-Id: I6826a6069b09db4a94db49cbda852509bfbdb534
Reviewed-on: https://g2g.palm.com/2872
Reviewed-by: Build Verification
Reviewed-by: Iyad Qumei <iyad.qumei@lge.com>
Tested-by: Iyad Qumei <iyad.qumei@lge.com>
Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image.bbclass: Optionally prepare rootfs to be read-only

:Release Notes:
Make webOS-specific adjustments to various parts of the rootfs in
preparation for read-only mounting when "read-only-rootfs" appears in
IMAGE_FEATURES.

:Detailed Notes:

:Testing Performed:
1) MiniBAT
2) This change was tested as part of the full solution for read-only
   rootfs.

:QA Notes:

:Issues Addressed:
[GF-6590] Mount directory trees that must be writable on writable
          partitions

Open-webOS-DCO-1.0-Signed-off-by: Iyad Qumei <iyad.qumei@lge.com>
Change-Id: I9ffcb268e6649ba753d98bb020343205616c63bd
Reviewed-on: https://g2g.palm.com/2803
Reviewed-by: Build Verification
Reviewed-by: Iyad Qumei <iyad.qumei@lge.com>
Tested-by: Iyad Qumei <iyad.qumei@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
dropbear: Persist generated keys across software updates

:Release Notes:
By default, dropbear writes its keys to /etc, which isn't persisted
across software updates. This change modifies it to write them under the
tree that is persisted across software updates.

:Detailed Notes:

:Testing Performed:
1) MiniBAT
2) This change was tested as part of the full solution for read-only
   rootfs.

:QA Notes:

:Issues Addressed:
[GF-6589] Update scripts and programs for read-only rootfs

Open-webOS-DCO-1.0-Signed-off-by: Iyad Qumei <iyad.qumei@lge.com>
Change-Id: Ie1f4402fdf46d2ef634033b62ca198453e6dfe7e
Reviewed-on: https://g2g.palm.com/2805
Reviewed-by: Build Verification
Reviewed-by: Iyad Qumei <iyad.qumei@lge.com>
Tested-by: Iyad Qumei <iyad.qumei@lge.com>
Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
opkg: Put lock file in correct location

:Release Notes:
opkg writes a lock file to /usr/lib. According to the Filesystem
Hierarchy Standard, lock files belong under the /var/lock.

:Detailed Notes:

:Testing Performed:
1) MiniBAT
2) This change was tested as part of the full solution for read-only
   rootfs.

:QA Notes:

:Issues Addressed:
[GF-6589] Update scripts and programs for read-only rootfs

Open-webOS-DCO-1.0-Signed-off-by: Iyad Qumei <iyad.qumei@lge.com>
Change-Id: Ie2f60e241c9d58df6e5a3493aafdade39d8d5867
Reviewed-on: https://g2g.palm.com/2866
Reviewed-by: Build Verification
Reviewed-by: Iyad Qumei <iyad.qumei@lge.com>
Tested-by: Iyad Qumei <iyad.qumei@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
packagegroup-webos-extended: Include dhcp-client only for the emulator

:Release Notes:
This change removes dhcp-client from all targets except the one that
actually uses it: qemux86.

:Detailed Notes:
dhcp-client will be removed entirely once [GF-10079] is implemented.

:Testing Performed:
1) MiniBAT
2) This change was tested as part of the full solution for read-only
   rootfs.

:QA Notes:

:Issues Addressed:
[GF-10080] Only install dhcp-client for the emulator

Open-webOS-DCO-1.0-Signed-off-by: Iyad Qumei <iyad.qumei@lge.com>
Change-Id: Ifa84b1dee8b1d899f69632a7a69ca1463a242330
Reviewed-on: https://g2g.palm.com/2890
Reviewed-by: Build Verification
Reviewed-by: Iyad Qumei <iyad.qumei@lge.com>
Tested-by: Iyad Qumei <iyad.qumei@lge.com>
Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
meta-webos image: smartkey-hun=7

:Release Notes:
Update smartkey-hun from submissions/6 to submissions/7

:Detailed Notes:
smartkey-hun submissions/6...submissions/7:
    584ccd0 Fix for numAutoReplace
    15f0167 Fix for listUserWords
    48a5f49 Fix for listAutoReplace
    166d615 search - allow search on strings only
    af6dfdc addUserWord - limit all inputs to strings only
    6ac39de addAutoReplace - limit all inputs to strings only
    e954239 add Upstart 1.8 job file to smartkey-hun
    94535f4 Extend input params for cmdSearch
    db49283 Assign Copyright to LG Electronics, Inc

:Testing Performed:
mini-BAT performed on #243

:QA Notes:

:Issues Addressed:
    [GF-11533] CCC: smartkey-hun=7
    [GF-10137] Extend input params for cmdSearch
    [GF-10665] com.palm.smartKey:numAutoReplace - returns True for invalid parameters
    [GF-10664] com.palm.smartKey:search - accepting numbers also
    [GF-10663] com.palm.smartKey:listUserWords - returns True for invalid offset and limit
    [GF-10662] com.palm.smartKey:listAutoReplace - returns True for invalid offset and limit
    [GF-10660] com.palm.smartKey:addUserWord - accepting all inputs
    [GF-10659] com.palm.smartKey:addAutoReplace - accepting all inputs
    [GF-10827] add Upstart 1.8 script to smartkey-hun
      is required by:
    [GF-10829] smartkey-hun: modify bb file to install new Upstart job file

Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@lge.com>

Change-Id: Id8b9b1311bf0ad28fb7dc776369b016afc58e47e
Reviewed-on: https://g2g.palm.com/2959
Reviewed-by: Roger Stringer <roger.stringer@lge.com>
Tested-by: Roger Stringer <roger.stringer@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
vboxguestdrivers: add mount.vboxsf utility

:Release Notes:
The mount.vboxsf is a mount utility to share a folder between
Host OS and Emulator.

:Detailed Notes:
Emulator has only a small disk for data. but some applicatons may
need more space to store their data.
So emulator should offer a mount utility with existed vboxsf kernel
module to use a defined folder on Host OS.

:Testing Performed:
To mount shared folder in emulator, use the following command in
the terminal prompt.
mount -t vboxsf [name of shared folder] [mount point]

:QA Notes:

:Issue Addressed:
[GF-8867]Emulator needs to share a directory with a Host OS
[GF-11532]CCC: modify recipe for vboxguestdrivers

Open-webOS-DCO-1.0-Signed-off-by: Minjung Kim <mjane.kim@lge.com>

Change-Id: I8ac97b6b0736a147350f1b9cd975292ee6096601
Reviewed-on: https://g2g.palm.com/2853
Reviewed-by: Build Verification
Reviewed-by: Minjung Kim <mjane.kim@lge.com>
Tested-by: Minjung Kim <mjane.kim@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
linux-yocto: add uinput device driver

:Release Notes:
The emulator would be controlled by several input devices.
and all/some of input devices may be handled via uinput device
node. so kernel needs to be built with uinput device driver.

:Detailed Notes:
This change is needed by [GF-9208]IM libraries for qemux86.

:Testing Performed:
No change in buildhistory report files-in-image.txt
After booting emulator with kernel built with this change, /dev/uinput
node can be shown.

:QA Notes:

:Issues Addressed:
[GF-11103] The user input device(uinput) needs to be included during
building kernel.
[GF-11525] CCC:modify recipe for linux-yocto

Open-webOS-DCO-1.0-Signed-off-by: Minjung Kim <mjane.kim@lge.com>

Change-Id: I8d0f12aea211b0c09e92230706df30f610dd7020
Reviewed-on: https://g2g.palm.com/2927
Reviewed-by: Minjung Kim <mjane.kim@lge.com>
Tested-by: Minjung Kim <mjane.kim@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: adding Upstart 1.8 files only

:Release Notes:
Many Core OS components have had Upstart 1.8 job files added to them
with either no other changes at all or only comments or doc updates
between the previous submission and those in this bug.

:Detailed Notes:
As part of switching to Upstart 1.8, many job files were bundled into
starfish-initscripts with the intention of quickly migrating them
back into the components where they belong.  Many of those components
'belong' to the Core OS group - and this fix is one of three
simultaneous meta updates to handle that migration.

In the components being updated here, the only change between the
previous submission and that included in
conf/distro/include/webos-preferred-versions.inc is the addition
of the Upstart 1.8 job file in the files/launch directory.
The upstart files themselves are just being moved out of
starfish-initscripts - where they've lived since May - and have been
run since then by those of us testing Upstart 1.8

Components updated under meta-webos and the commits included:
* configurator       48  ->  50
  5fd253d add Upstart 1.8 job files
  f60195d Fix API documentation comments
  3d6f831 Add documentation to all service methods
  8eee52b Explicitely link pthread
* filecache          55  ->  56
  49f35d0 Assign Copyright to LG Electronics, Inc.
  ba67e7c filecache: add Upstart 1.8 job file
  d36911f filecache: update upstart script for Upstart 1.8
* luna-sysservice   1.04 ->   5
  e9a4621 add Upstart 1.8 job file
  2197f35 Assign Copyright to LG Electronics, Inc.
  8d61073 Update Cmake script to fix Qt5 build issue
  f1dd5df Removing obsolete conf directory
  4df1644 Use QCoreApplication instead of QApplication
  24c692c Correct includes of lunaservice.h
* pmklogd            10  ->  11
  ad1aae2 Assign Copyright to LG Electronics, Inc.
  05a8182 pmklogd: add Upstart 1.8 job file
* pmlogdaemon       105  -> 106
  82e5390 Assign Copyright to LG Electronics, Inc.
  3671a51 pmlogdaemon: add Upstart 1.8 job file
* powerd             19  ->  20
  38ca7af Assign Copyright to LG Electronics, Inc.
  bf9da0c powerd: add Upstart 1.8 job file
  d98d03a Stop replying on lunaservice.h to include glib.h
* sleepd             14  ->  15
  e6462db Assign Copyright to LG Electronics, Inc.
  b047772 sleepd: add Upstart 1.8 job file
  bf9c90f Clean up comments referring to tellbootie

:Testing Performed:
For this fix, the explicit test was to build an up-to-date local tree
with the new submission numbers for the components involved.
The miniBAT test was run and passed for test cases.
Individually, the submission numbers were tested with local builds
for each component in turn by verifying that the new Upstart job file
and the existing upstart file were both installed into the proper
directory under the 'image/etc' directory under BUILD-goldfinger.
I also verified that the files were in their proper locations in the
package files that were created and in the image when it was expanded
for NFS-mounted testing

:QA Notes:
There are no known QA issues as the files being added with this fix are
not going to be actually used until we turn on Upstart 1.8

:Issues Addressed:
[GF-5620] update coreOS upstart scripts for 1.8
[GF-11494] CCC: configurator=50 filecache=56 luna-sysservice=5
           pmklogd=11 pmlogdaemon=106 powerd=20 sleepd=15
           com.palm.service.palmprofile=58 filenotifyd=66 minicore2=44
           nyx-utils=9 pmlogctld=80 rdxd=128 webos-nettools=3
           luna-sysservice=5

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

Change-Id: I172b6c343204ab7de0130037d846dc2b8b1e96a7
Reviewed-on: https://g2g.palm.com/2956
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
alljoyn: add a Upstart 1.8 script

:Release Notes:
Add a Upstart 1.8 script for alljoyn

:Detailed Notes:
This change is only for adding a script file for Upstart 1.8

:Testing Performed:
I verified that alljoyn.conf (Upstart 1.8 script) could be installed to
/etc/init correctly.

Build 220 + Upstart 1.8 + this change: OK
MiniBAT + Verification Build #598: OK

:QA Notes:

:Issues Addressed:
[GF-9572] Add a Upstart 1.8 script for alljoyn
[GF-10971] CCC: add a 1.8 script for alljoyn

Open-webOS-DCO-1.0-Signed-off-by: Wonhong Kwon <wonhong.kwon@lge.com>

Change-Id: Icd3b46bd72d8e2c15e2ada1d62cb55dea8fb824d
Reviewed-on: https://g2g.palm.com/2950
Reviewed-by: Wonhong Kwon <wonhong.kwon@lge.com>
Tested-by: Wonhong Kwon <wonhong.kwon@lge.com>
Reviewed-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>
webos-recipe-blacklist: Blacklist broken upstream recipes

:Release Notes:
Blacklist recipes which doesn't build with webos configuration

:Detailed Notes:
Some recipes aren't skipped right away based on e.g. DISTRO_FEATURES
but fail a bit later.

Again all recipes which depends on these blacklisted need to be
blacklisted too.

Be aware that PNBLACKLIST changes aren't correctly picked by bitbake
parser, so in order to reparse metadata with new PNBLACKLIST enabled
you need to remove ${CACHE} or otherwise force reparsing.

:Testing Performed:
bitbake world finished successfully

:QA Notes:

:Issues Addressed:
[GF-8006] Blacklist recipes which cannot be built with webos distro config

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

Change-Id: I419bd718412b285763df38616d9f4628d5f81ceb
Reviewed-on: https://g2g.palm.com/2814
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>
xkeyboard-config: Add missing dependency on util-macros

:Release Notes:
util-macros is mandatory dependency

:Detailed Notes:
Without it, build fails:
configure.ac:7: error: must install xorg-macros 1.12 or later before

:Testing Performed:
Builds OK after building util-macros

:QA Notes:
No change in image

:Issues Addressed:
[GF-9365] Explicitly enable or disable autodetected dependencies

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I9e0f1abed3fa03138048ab8e0d633572ead566d2
Reviewed-on: https://g2g.palm.com/2893
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
leveldb: Explicitly disable gperftools dependency

:Release Notes:
tcmalloc was autodetected from sysroot and build wasn't deterministic

:Detailed Notes:

:Testing Performed:
Build tested only with and without gperftools in sysroot

:QA Notes:
No change in image

:Issues Addressed:
[GF-9365] Explicitly enable or disable autodetected dependencies

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ifb3421b9aa99d7f65752f06b75f82a84177a22ec
Reviewed-on: https://g2g.palm.com/2904
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
qt4-webos: Explicitly disable sqlite, openvg and enable openssl

:Release Notes:
All dependencies should be explicitly enabled or disabled

:Detailed Notes:
SQLite2 support is autodetected from sysroot and enabled if
sqlite was built before qt4-webos. OpenSSL support is needed
otherwise webappmanager build can fail when it's trying to use
webkit-webos built with openssl enabled in sysroot with qt4-webos
without openssl enabled:
webappmanager 3.0.0-3-r5 do_compile
sysroots/qemux86/usr/lib/libQtWebKit.so: undefined reference to `QSslSocket::QSslSocket(QObject*)'
sysroots/qemux86/usr/lib/libQtWebKit.so: undefined reference to `QSslError::error() const'
sysroots/qemux86/usr/lib/libQtWebKit.so: undefined reference to `QSslSocket::connectToHostEncrypted(QString const&, unsigned short, QFlags<QIODevice::OpenModeFlag>)'
sysroots/qemux86/usr/lib/libQtWebKit.so: undefined reference to `QSslSocket::staticMetaObject'
collect2: error: ld returned 1 exit status

:Testing Performed:
Build tested only

:QA Notes:
No change in image

:Issues Addressed:
[GF-9365] Explicitly enable or disable autodetected dependencies

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

:Release Notes:
1133e99 Reduce memory usage of JSON values
94ef0a5 Remove memory errors from unit tests
3eefb10 Add API to verify jvalue against schema
2ebbe10 Fix public API error checking
bef4f4c Refactor jobject to use GHashTable
71a41e0 Fix cosmetic whitespace style

:Detailed Notes:
Refactored to use GHashTable instead of a homebrew poor data structure
to store members of JSON object.
Fixed error checking in public API to prevent undefined behaviour.
Implemented functions to validate a JSON object against a schema,
which allowed to decouple serialization from validation.
Redesigned the jvalue struct to avoid relying on union, thus improving
memory footprint drastically.
Finally, the unit tests have been fixed to get rid of memory leaks.

:Testing Performed:
Unit tests were passed.
Unit tests were run with detection of memory errors.
MiniBAT results attached to the task in Jira.

:QA Notes:

:Issues Addressed:
[GF-10385] CCC: libpbnjson=18
[GF-2836] Validation of json objects against schemas in pbnjson
[GF-6969] Refactor jobject to use GHashTable
[GF-8147] libpbnjson: Check and fix type information in all public API
[GF-8743] Improve memory usage of jvalue
[GF-9794] Remove memory errors from internal unit tests

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

Change-Id: Id0fcd7c5d94bf89c22ab982b93b16393619dbfe7
Reviewed-on: https://g2g.palm.com/2897
Reviewed-by: Build Verification
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
gtest: Add recipe for v1.6.0

:Release Notes:
Google gtest is needed for building and running unit tests.

:Detailed Notes:

:Testing Performed:
Checked the sysroot is populated with needed files.

:QA Notes:

:Issues Addressed:
[GF-3384] Create an OE component for GTest
[GF-11845] CCC: gtest=1.6.0

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

Change-Id: I12f5bab3895b588e7640a28b41827c7521d98187
Reviewed-on: https://g2g.palm.com/2550
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
buildhistory: Move WEBOS_BOM_data.pkl to TMPDIR

:Release Notes:
WEBOS_BOM_data.pkl in buildhistory repo was causing bigger diffs
which aren't easy to read.

:Detailed Notes:
Release notes script is using WEBOS_BOM_data.pkl file from build
artifacts so we don't need to store this in buildhistory repository.
Jenkins jobs need to be updated to preserve this file from new location.

:Testing Performed:
WEBOS_BOM_data.pkl is no longer commited in buildhistory repository
with each build.

:QA Notes:
No change in image

:Issues Addressed:
[GF-2545] Enable retention of buildhistory

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ifeff1d86fa3634d489c66ba4d5c5fadfaf5bfda5
Reviewed-on: https://g2g.palm.com/2863
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
buildhistory: Use bb.utils.mkdirhier instead of os.makedirs

:Release Notes:
Multiple do_fetch[prefunc] can happen at the same time and
if not os.path.exists(pkghistdir):
    os.makedirs(pkghistdir)
isn't safe

:Detailed Notes:
Use bb.utils.mkdirhier which doesn't raise error when directory exists

:Testing Performed:
Build tested only, but I wasn't able to reproduce this race before

:QA Notes:

:Issues Addressed:
[GF-9987] Strange failure when building depmodwrapper-cross

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I62e2f0930c0f94af962af96b9dcaf51dff073938
Reviewed-on: https://g2g.palm.com/2900
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>