rpm/deb support for meta-toolchain.
Status from this message: Merged into master, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | cross-canadian.bbclass: Correct deb package arch.meta/ | +3 | 1 reply | |
| 2/5 | apt-native: Added licence checksum.meta/ | +2 | 1 reply | |
| 3/5 | image/rootfs_xx/package_xx.bbclass: prepare to add populate_sdk task.meta/ meta/ meta/ +4 more | +479 | 0 replies | |
| 4/5 | classes/populate_sdk_xxx.bbclass: pkg format support for populate_sdk taskmeta/ meta/ meta/ | +171 | 0 replies | |
| 5/5 | meta-toolchain: pkg format independant populate_sdk task.meta/ meta/ | +85 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] [BUG# 227] rpm/deb support for meta-toolchain.
From: Lianhao Lu <[email protected]>
The purpose of this series of patches is to add rpm/deb 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.
Since there are quite many code duplication between relevant popuplage_sdk_xxx and rootfs_xxx bbclasses, it also moved the common code into the package_xxx.bbclass, based on RP's suggestion. The generic function package_install_internal_xxx() may installs a list of packages, based on the information specified by various shell environment variables about where the target directory to be installed to, package architecture information, etc.
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/bug227
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug227
Thanks,
Lianhao Lu <[email protected]>
---
Lianhao Lu (5):
cross-canadian.bbclass: Correct deb package arch.
apt-native: Added licence checksum. image/rootfs_xx/package_xx.bbclass: prepare to add populate_sdk task. classes/populate_sdk_xxx.bbclass: pkg format support for populate_sdk
task
meta-toolchain: pkg format independant populate_sdk task.
meta/classes/cross-canadian.bbclass | 3 + meta/classes/image.bbclass | 5 +- meta/classes/package_deb.bbclass | 145 ++++++++++++++ meta/classes/package_ipk.bbclass | 63 ++++++ meta/classes/package_rpm.bbclass | 243 +++++++++++++++++++++++- meta/classes/populate_sdk.bbclass | 82 ++++++++ meta/classes/populate_sdk_deb.bbclass | 60 ++++++ meta/classes/populate_sdk_ipk.bbclass | 44 +++++ meta/classes/populate_sdk_rpm.bbclass | 67 +++++++ meta/classes/rootfs_deb.bbclass | 111 ++--------- meta/classes/rootfs_ipk.bbclass | 45 +---- meta/classes/rootfs_rpm.bbclass | 157 ++-------------- meta/recipes-core/meta/meta-toolchain.bb | 103 +---------- meta/recipes-devtools/apt/apt-native_0.7.14.bb | 2 + 14 files changed, 740 insertions(+), 390 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