From: Lianhao Lu <lianhao.lu@intel.com>
To: poky@yoctoproject.org
Subject: [PATCH 0/5] [BUG# 227] rpm/deb support for meta-toolchain.
Date: Fri, 28 Jan 2011 18:01:29 +0800 [thread overview]
Message-ID: <cover.1296208216.git.lianhao.lu@intel.com> (raw)
From: Lianhao Lu <lianhao.lu@intel.com>
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 <lianhao.lu@intel.com>
---
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
next reply other threads:[~2011-01-28 10:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-28 10:01 Lianhao Lu [this message]
2011-01-28 10:01 ` [PATCH 1/5] cross-canadian.bbclass: Correct deb package arch Lianhao Lu
2011-01-28 17:01 ` Richard Purdie
2011-01-28 10:01 ` [PATCH 4/5] classes/populate_sdk_xxx.bbclass: pkg format support for populate_sdk task Lianhao Lu
2011-01-28 10:01 ` [PATCH 2/5] apt-native: Added licence checksum Lianhao Lu
2011-01-28 17:01 ` Richard Purdie
2011-01-28 10:01 ` [PATCH 5/5] meta-toolchain: pkg format independant populate_sdk task Lianhao Lu
2011-01-28 10:01 ` [PATCH 3/5] image/rootfs_xx/package_xx.bbclass: prepare to add " Lianhao Lu
2011-01-29 13:28 ` [PATCH 0/5] [BUG# 227] rpm/deb support for meta-toolchain Richard Purdie
2011-01-30 8:23 ` Lu, Lianhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1296208216.git.lianhao.lu@intel.com \
--to=lianhao.lu@intel.com \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox