Added rpm support in meta-toolchain
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | cross-canadian/apt-native: support for debian package.meta/ meta/ | +5 | 1 reply | |
| 2/6 | classes/populate_sdk_ipk.bbclass: newly created.meta/ | +57 | 0 replies | |
| 3/6 | populate_sdk_deb/package_deb: Added deb support for populate_sdk.meta/ meta/ | +160 | 0 replies | |
| 4/6 | classes/populate_sdk_*: remove blanks.meta/ meta/ | +14 | 1 reply | |
| 5/6 | package_rpm/populate_sdk_rpm: Added rpm support for populate_sdk task.meta/ meta/ | +183 | 1 reply | |
| 6/6 | meta_toolchain/populate_sdk: Made task populate_sdk more generic.meta/ meta/ meta/ | +94 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Added rpm support in meta-toolchain
From: Lianhao Lu <[email protected]>
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 <[email protected]>
---
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