[poky] [PATCH 0/6] Added rpm support in meta-toolchain

Lianhao Lu lianhao.lu at intel.com
Wed Jan 26 18:51:31 PST 2011


From: Lianhao Lu <lianhao.lu at intel.com>

The purpose of this series of patches is to add rpm support in meta-toolchain creation,
and also to fix bug #227.

It makes the task populate_sdk in meta/recipes-core/meta/meta-toolchain.bb more generic
to support installing packages from ipk, rpm, and deb files in creating meta-toolchain 
tarball, and move the populate_sdk task out of meta-toolchain.bb recipe into a bbclass.

It added populate_sdk_xxx.bbclass for different package file format.

The meta-toolchain installing process involes 2 set of packages, one is the host sdk 
set which contains packages of applications(e.g. cross-canadian compilers, qemu, etc.) and 
relevant run-time libraries, the other is the target sdk set which contains packages of target
arch's libraries and header files to create a target rootfs for cross compiling purpose.So
the patches also modifes and/or adds functions in package_deb.bbclass & package_rpm.bbclass 
to update the package index and to generate different installing configuration files for the 
tow different sets.

It also fixed a bug in cross-canadian.bbclass to enable the package_deb.bbclass generate correct
deb package files for cross-canadian recipies.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: llu/rpm_meta-toolchain
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/rpm_meta-toolchain

Thanks,
    Lianhao Lu <lianhao.lu at intel.com>
---


Lianhao Lu (6):
  cross-canadian/apt-native: support for debian package.
  classes/populate_sdk_ipk.bbclass: newly created.
  populate_sdk_deb/package_deb: Added deb support for populate_sdk.
  classes/populate_sdk_*: remove blanks.
  package_rpm/populate_sdk_rpm: Added rpm support for populate_sdk
    task.
  meta_toolchain/populate_sdk: Made task populate_sdk more generic.

 meta/classes/cross-canadian.bbclass            |    3 +
 meta/classes/package_deb.bbclass               |   31 ++++++
 meta/classes/package_rpm.bbclass               |   53 ++++++++--
 meta/classes/populate_sdk.bbclass              |   88 +++++++++++++++
 meta/classes/populate_sdk_deb.bbclass          |  129 ++++++++++++++++++++++
 meta/classes/populate_sdk_ipk.bbclass          |   57 ++++++++++
 meta/classes/populate_sdk_rpm.bbclass          |  138 ++++++++++++++++++++++++
 meta/recipes-core/meta/meta-toolchain.bb       |  103 +-----------------
 meta/recipes-devtools/apt/apt-native_0.7.14.bb |    2 +
 9 files changed, 496 insertions(+), 108 deletions(-)
 create mode 100644 meta/classes/populate_sdk.bbclass
 create mode 100644 meta/classes/populate_sdk_deb.bbclass
 create mode 100644 meta/classes/populate_sdk_ipk.bbclass
 create mode 100644 meta/classes/populate_sdk_rpm.bbclass




More information about the poky mailing list