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>
Merge remote-tracking branch 'g2g/master' into preview-ff
webos-image: pull dropbear through ssh-server-dropbear

* it was in task-webos-extended RDEPENDS and before
  that in task-webos-core RDEPENDS
* also define WEBOS_IMAGE_DEFAULT_FEATURES with IMAGE_FEATURES
  shared by all default images

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: If90f64ae48cc271010228fa79e09211ff3c79ef4
task-webos-extended: remove dropbear

* sshd (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
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
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
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
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
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
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
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
nodejs: inherit from pythonnative to compile

* with new oe-core depending on python-native does not help much.
  Native python binary is now staged in subdirectory not part of
  PATH by default.

  So if you have python-native in DEPENDS it gets built, but not used
  in build (host python is used) and this inherit just adds path to
  native python binary to PATH + also adds python-native to DEPENDS:
  PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
  EXTRANATIVEPATH += "python-native"
  DEPENDS += " python-native "

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: Ic6ddc38d3964877d1f90db4c135bc4dd319e5fd8
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)

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I3086d8da7b25a60e645c06d4483c6d222b09ef9f
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
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
libtinyxml: drop, now in meta-oe

* meta-oe commit 7fb3b06bacc90a5429fab810258e03607a4add83
* this recipe is not needed to build webos-image, dependency on
  it was removed together with task-webos-core recipe in meta-webos
  commit 70b787bcb78db34c6a7d05b19786cb2e48bbece2

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I063e0d6f92d264b2f85699f008915b3fd0fd46a3