From: "Christian Ziethén" <christian.ziethen@linaro.org>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] boot-directdisk: Make kernel image inclusion conditional.
Date: Mon, 17 Aug 2015 12:55:03 +0200 [thread overview]
Message-ID: <20150817105502.GB28145@gmail.com> (raw)
In-Reply-To: <1437661949-9295-2-git-send-email-christian.ziethen@linaro.org>
ping
On 2015-07-23 16:32, Christian Ziethén wrote:
> When building for qcow2 and a dummy kernel, avoid installing
> a non existing bzImage.
>
> Signed-off-by: Christian Ziethén <christian.ziethen@linaro.org>
> ---
> meta/classes/boot-directdisk.bbclass | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass
> index d256fff..600e21a 100644
> --- a/meta/classes/boot-directdisk.bbclass
> +++ b/meta/classes/boot-directdisk.bbclass
> @@ -70,7 +70,9 @@ boot_direct_populate() {
> install -d $dest
>
> # Install bzImage, initrd, and rootfs.img in DEST for all loaders to use.
> - install -m 0644 ${DEPLOY_DIR_IMAGE}/bzImage $dest/vmlinuz
> + if [ -e ${DEPLOY_DIR_IMAGE}/bzImage ]; then
> + install -m 0644 ${DEPLOY_DIR_IMAGE}/bzImage $dest/vmlinuz
> + fi
>
> # initrd is made of concatenation of multiple filesystem images
> if [ -n "${INITRD}" ]; then
> --
> 2.1.4
>
next prev parent reply other threads:[~2015-08-17 10:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-23 14:32 [PATCH 1/2] image: Support for qcow2 Christian Ziethén
2015-07-23 14:32 ` [PATCH 2/2] boot-directdisk: Make kernel image inclusion conditional Christian Ziethén
2015-08-17 10:55 ` Christian Ziethén [this message]
2015-08-17 10:54 ` [PATCH 1/2] image: Support for qcow2 Christian Ziethén
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=20150817105502.GB28145@gmail.com \
--to=christian.ziethen@linaro.org \
--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