webos-image: support selecting an alternative to dropbear

* synchronize with core-image.bbclass from oe-core to be able to use
  ssh-server-openssh IMAGE_FEATURE

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: I96a560dc9ee115f2ea73fde5736c23f426f2588e
Reviewed-on: http://g2g.palm.com/1093
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
dhcp: rename bbappend to match new version from oe-core

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: Ibe3ddfeffec19ff6f32bfc27ed4357e8c02ccad6
Reviewed-on: http://g2g.palm.com/1104
Reviewed-by: Iyad Qumei <iyad.qumei@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
iproute2: rename as we have a newer version in oe-core

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: Ia960af3ca0397da98d3eb57ca4ba1111cd810e21
Reviewed-on: http://g2g.palm.com/1107
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
libtinyxml: Drop, no longer used by Open webOS

- This recipe is no longer needed to build webos-image. The dependency
  on it was removed together with the task-webos-core recipe in commit
  70b787bcb78db34c6a7d05b19786cb2e48bbece2.

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I063e0d6f92d264b2f85699f008915b3fd0fd46a3
Reviewed-on: http://g2g.palm.com/1108
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
nodejs: Don't use host python when building

OE-core now stages the python-native binary in a subdirectory that is
not part of PATH by default so that bitbake will always use the host
Python and never python-native. This means that if you have
python-native in DEPENDS it gets built, but not used. What you need to
do instead is inherit from pythonnative, which arranges for
python-native to be built and found in PATH.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: Ic6ddc38d3964877d1f90db4c135bc4dd319e5fd8
Reviewed-on: http://g2g.palm.com/1103
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
bbclasses, recipes: use 4 spaces in python tasks

* replace tabs with 4 spaces in python tasks
* shell tasks should use tabs according to yocto styleguide,
  but that's not fatal and in meta-webos there is a lot of shell
  code indented by 4 spaces (which is better, because it's consistent
  with python tasks)
* newer oe-core is using 4 spaces and python code will fail with IndentationError
  when we prepend tab indentation to such task (e.g. populate_packages, clean)
  NOTE: Error during finalise of recipe.bb
  ERROR: ExpansionError during parsing recipe.bb:
    Failure expanding variable populate_packages:
    IndentationError: unindent does not match any outer indentation level (<string>, line 4)
* there is also check in bitbake:
  WARNING: Variable populate_packages contains tabs, please remove these (recipe.bb)

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I50a6dc28ed8cdafae8a8465aa99b51d9e626d4a8
Reviewed-on: http://g2g.palm.com/1102
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
webos-image: define WEBOS_IMAGE_DEFAULT_FEATURES

* IMAGE_FEATURES shared by all default images

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: If90f64ae48cc271010228fa79e09211ff3c79ef4
Reviewed-on: http://g2g.palm.com/1094
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
webos-image: pull dropbear through ssh-server-dropbear

* it was in task-webos-extended RDEPENDS and before
  that in task-webos-core RDEPENDS, but sshd in image
  (openssh or dropbear) should be decided by IMAGE_FEATURES

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Change-Id: I8d3cba130caafa9d0e5dce225206fb2442e8f13e
Reviewed-on: http://g2g.palm.com/1095
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
task-webos-extended: provide upgrade path from task-webos-core

* add RPROVIDES/RREPLACES/RCONFLICTS to replace task-webos-core
  package by task-webos-extended package during upgrade on target

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Change-Id: Icc1f7d2e0c53aa554189c7752d6ec16cd2f8c1f0
Reviewed-on: http://g2g.palm.com/1096
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
task*: rename to packagegroup to match oe-core

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I5c283578bd9a2707fefe7fd51c4c1b1f68eafa66
Reviewed-on: http://g2g.palm.com/1097
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
packagegroup: provide upgrade path from task-* recipes

* add RPROVIDES/RREPLACES/RCONFLICTS so that task-* packages are
  replaced by packagegroup-* packages during upgrade on target
* PR bumped in next commit

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Change-Id: Iaa01ee995387ac78b0c50a5c57a91abd2051fff0
Reviewed-on: http://g2g.palm.com/1098
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
packagegroup: inherit packagegroup, drop PACKAGES and ALLOW_EMPTY

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I41bab57213c03cb5a4f2b5635fd7b15bcd660b1b
Reviewed-on: http://g2g.palm.com/1099
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
webos.conf: use packagegroup-* names instead of task-*

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: Iec30a9982bba8f425f81cd5f7581a239926707e4
Reviewed-on: http://g2g.palm.com/1100
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
webos-image.bbclass: use packagegroup-* names instead of task-*

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: If9296b52f569e6002055048ae3433523161369ff
Reviewed-on: http://g2g.palm.com/1101
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
webos.conf: change preferred version of linux-yocto to 3.4

* 3.4 is default version used in Yocto 1.3
* move P_V_linux-yocto from webos.conf to
  webos-preferred-versions.inc
* no need to define the same P_V_linux-yocto for each MACHINE

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I3dc398e5f094e9d49bad9c0a7b62fa91f9dc8656
Reviewed-on: http://g2g.palm.com/1106
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
busybox: Rename bbappend to match new version, update defconfig

* New defconfig is based on oe-core version with the same changes like
  old defconfig had (disabled FEATURE_NON_POSIX_CP, BUNZIP2, GUNZIP,
  GZIP, UDHCPC and enabled TZSET)
* One exception is that LOCALE_SUPPORT is now disabled so as to match
  the configuration from HP webOS.

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I3086d8da7b25a60e645c06d4483c6d222b09ef9f
Reviewed-on: http://g2g.palm.com/1105
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
luna-sysmgr: install platform-specific icon layout config

Open-webOS-DCO-1.0-Signed-off-by: Josh Palmer <jpalmerwatkins@me.com>
Open-webOS-DCO-1.0-Signed-off-by: Tom King <ka6sox@gmail.com>
Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
browserserver: add patch to fix build for 64bit target

* can be removed when
  https://github.com/isis-project/BrowserServer/pull/44
  is applied and webos-submission bumped

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
pmcertificatemgr: install openssl configuration file

To work correctly pmcertificatemgr needs a special openssl configuration file in /etc/ssl.
It's already part of the source archive but was never installed. The other needed
configuration bits below the /var/ssl directory are created by a special upstart job which
is package separately with the certificate store.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
openssl: add override to install c_rehash utility

To be able to populate our trusted certificate store we have to utilize the c_rehash
utility to create proper symlinks for them.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>