From: Denys Dmytriyenko <denys@ti.com>
To: "Franklin S. Cooper Jr" <fcooper@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH 2/3] kernel.bbclass: Pull in tweaks from oe-core patch to local copy
Date: Mon, 9 Sep 2013 14:22:29 -0400 [thread overview]
Message-ID: <20130909182229.GB2503@edge> (raw)
In-Reply-To: <1378747771-6201-2-git-send-email-fcooper@ti.com>
On Mon, Sep 09, 2013 at 12:29:30PM -0500, Franklin S. Cooper Jr wrote:
> The below patch has been submitted to oe-core. Modify local copy of
> kernel.bbclass to mimic this patch until patch is upstreamed.
Have you addressed the latest comments for the upstream patch:
http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/41748/focus=41752
I would prefer to avoid overlaying a complete class locally just for this
simple fix. Having a smaller bbappend with do_install_append() seems like a
less intrusive change... Comments?
> kernel.bbclass: Create symbolic link to add ${KERNEL_IMAGETYPE} to boot package
> * By default for some platforms U-boot assumes the kernel image is located in
> the boot directory of the root filesystem.
> * The kernel.bbclass already includes the kernel image in the /boot directory
> but adds a version number to the file name.
> * Create a symbolic link that names the kernel image in the exact way that
> U-boot expects.
>
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
> meta-arago-distro/classes/kernel.bbclass | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/meta-arago-distro/classes/kernel.bbclass b/meta-arago-distro/classes/kernel.bbclass
> index 3320747..1211911 100644
> --- a/meta-arago-distro/classes/kernel.bbclass
> +++ b/meta-arago-distro/classes/kernel.bbclass
> @@ -109,6 +109,7 @@ kernel_do_install() {
> install -d ${D}/${KERNEL_IMAGEDEST}
> install -d ${D}/boot
> install -m 0644 ${KERNEL_OUTPUT} ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}
> + ln -sf ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}
> install -m 0644 System.map ${D}/boot/System.map-${KERNEL_VERSION}
> install -m 0644 .config ${D}/boot/config-${KERNEL_VERSION}
> install -m 0644 vmlinux ${D}/boot/vmlinux-${KERNEL_VERSION}
> --
> 1.7.0.4
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
next prev parent reply other threads:[~2013-09-09 18:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-09 17:29 [PATCH 1/3] kernel.bbclass: Pull in kernel.bbclass from oe-core dylan Franklin S. Cooper Jr
2013-09-09 17:29 ` [PATCH 2/3] kernel.bbclass: Pull in tweaks from oe-core patch to local copy Franklin S. Cooper Jr
2013-09-09 18:22 ` Denys Dmytriyenko [this message]
2013-09-16 19:12 ` Cooper Jr., Franklin
2013-09-16 21:38 ` Denys Dmytriyenko
2013-09-09 17:29 ` [PATCH 3/3] arago-image.inc: Make sure all filesystems include kernel image Franklin S. Cooper Jr
2013-09-09 20:07 ` Denys Dmytriyenko
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=20130909182229.GB2503@edge \
--to=denys@ti.com \
--cc=fcooper@ti.com \
--cc=meta-arago@arago-project.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.