From: Lianhao Lu <lianhao.lu@intel.com>
To: poky@yoctoproject.org
Subject: [PATCH 0/8] [BUG# 227] Added generic populate_sdk task
Date: Sun, 30 Jan 2011 16:22:07 +0800 [thread overview]
Message-ID: <cover.1296375580.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.
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 (8):
image/package_xx/rootfs_xx.bbclass: move rootfs_xx_log_check().
rootfs_deb/package_deb.bbclass: move func from rootfs_deb to
package_deb
rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to
package_ipk
rootfs_rpm/package_rpm.bbclass: Move func from rootfs_rpm to
package_rpm
populate_sdk_rpm.bbclass: Added rpm support for populate_sdk task.
populate_sdk_deb.bbclass: Added deb support for populate_sdk task.
populate_sdk_ipk.bbclass: Added ipk support in populate_sdk task.
populate_sdk.bbclass/meta-toolchain: Made populate_sdk task more
generic
meta/classes/image.bbclass | 5 +-
meta/classes/package_deb.bbclass | 145 +++++++++++++++++
meta/classes/package_ipk.bbclass | 63 ++++++++
meta/classes/package_rpm.bbclass | 250 ++++++++++++++++++++++++++++--
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 | 80 ++++++++++
meta/classes/rootfs_deb.bbclass | 111 ++-----------
meta/classes/rootfs_ipk.bbclass | 45 +-----
meta/classes/rootfs_rpm.bbclass | 168 ++------------------
meta/recipes-core/meta/meta-toolchain.bb | 103 +------------
12 files changed, 757 insertions(+), 399 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-30 8:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-30 8:22 Lianhao Lu [this message]
2011-01-30 8:22 ` [PATCH 3/8] rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipk Lianhao Lu
2011-01-30 8:22 ` [PATCH 4/8] rootfs_rpm/package_rpm.bbclass: Move func from rootfs_rpm to package_rpm Lianhao Lu
2011-01-30 8:22 ` [PATCH 7/8] populate_sdk_ipk.bbclass: Added ipk support in populate_sdk task Lianhao Lu
2011-01-30 8:22 ` [PATCH 1/8] image/package_xx/rootfs_xx.bbclass: move rootfs_xx_log_check() Lianhao Lu
2011-01-31 21:37 ` Richard Purdie
2011-01-30 8:22 ` [PATCH 2/8] rootfs_deb/package_deb.bbclass: move func from rootfs_deb to package_deb Lianhao Lu
2011-01-30 8:22 ` [PATCH 8/8] populate_sdk.bbclass/meta-toolchain: Made populate_sdk task more generic Lianhao Lu
2011-01-30 8:22 ` [PATCH 5/8] populate_sdk_rpm.bbclass: Added rpm support for populate_sdk task Lianhao Lu
2011-01-30 8:22 ` [PATCH 6/8] populate_sdk_deb.bbclass: Added deb " Lianhao Lu
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.1296375580.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.