package_ipk.bbclass: use common function to write relationship fields
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 11 Feb 2011 20:51:42 +0000 (20:51 +0000)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 6 Jul 2015 18:55:17 +0000 (21:55 +0300)
commitbbbcf88fa846af3ea4015f6ccd040f52f90e3162
tree02e85db8c1d270bb39218f64a7dd32d6c79d04f3
parent68be57fd8af551226a5f8a5cdc2143760efab473
package_ipk.bbclass: use common function to write relationship fields

* A function write_dep_field() was added to do_package_ipk() to
  ensure explode_deps is called for every field and to simplify
  the code.

* The following statement was removed from do_package_ipk():

  if not '-locale-' and not '-dbg' and not '-dev' in pkgname:
      rdepends.append('%s-locale*' % pkgname)

  It was added in November 2008, but can never evaluate to true.

  See commit a045dfacf6f2541e0f410d9d109581f181303756

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
classes/package_ipk.bbclass