From: Darren Hart <dvhart@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/2] kernel.bbclass: handle embedding of initramfs images
Date: Fri, 08 Jul 2011 08:38:14 -0700 [thread overview]
Message-ID: <4E172466.6040805@linux.intel.com> (raw)
In-Reply-To: <54796cbee0dc1928f2295a57b4a4783a1222ace1.1310079506.git.andrea.adami@gmail.com>
On 07/07/2011 04:11 PM, Andrea Adami wrote:
> * from org.openembedded.dev (oe-classic)
Hi Andrea,
Please include a descriptive blurb about the patch. When people read
through the commit log they need to know what problem this patch
addresses and how it intends to go about it. If possible, it should also
include the commit id from the source (I suspect that isn't an option here).
> +INITRAMFS_IMAGE ?= ""
> +INITRAMFS_TASK ?= ""
> +
> inherit kernel-arch deploy
>
> PACKAGES_DYNAMIC += "kernel-module-*"
> @@ -179,8 +191,18 @@ kernel_do_configure() {
> cp "${WORKDIR}/defconfig" "${S}/.config"
> fi
> yes '' | oe_runmake oldconfig
> +
> + if [ ! -z "${INITRAMFS_IMAGE}" ]; then
> + for img in cpio.gz cpio.lzo cpio.lzma; do
> + if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img"
> + cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$i
> + fi
> + done
> + fi
Hrm... Why is this part of do_configure? Seems a lot more like a deploy
or install step. Also, the cp line has been truncated here.
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
next prev parent reply other threads:[~2011-07-08 15:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-07 23:11 [PATCH 0/2] Add support for initramfs Andrea Adami
2011-07-07 23:11 ` [PATCH 1/2] kernel.bbclass: handle embedding of initramfs images Andrea Adami
2011-07-08 0:00 ` Andrea Adami
2011-07-08 0:53 ` Khem Raj
2011-07-08 8:36 ` Paul Eggleton
2011-07-08 15:38 ` Darren Hart [this message]
2011-07-08 16:00 ` Koen Kooi
2011-07-08 21:44 ` Andrea Adami
2011-07-09 19:25 ` Andrea Adami
2011-07-07 23:11 ` [PATCH 2/2] image_types.bbclass: support xz compressed initramfs.cpio and tarballs Andrea Adami
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=4E172466.6040805@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=openembedded-core@lists.openembedded.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