All of lore.kernel.org
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: <yocto@yoctoproject.org>
Subject: Re: changing grub.cfg per image
Date: Mon, 29 Dec 2014 10:36:12 +0800	[thread overview]
Message-ID: <54A0BE1C.3010306@windriver.com> (raw)
In-Reply-To: <CA+mjNq=0aqi5Gd1938CV855U+5qpg48Ac-RWRo5b_s=zMm56zA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

On 12/24/2014 01:14 AM, Stuart Weaver wrote:
> Hi All,
>
> I've currently got two yocto images. I would like to have different 
> grub.cfg files for each image and therefore was wondering what would 
> be the best way to achieve this?
>
> Currently I am playing with the idea of just changing the APPEND 
> variable within the machine conf file, however there doesn't seem to 
> be a way of making this image dependant. Hence, would I have to create 
> two different machines and change which machine I'm building for 
> everytime I build each image?
>
> Another idea would be to create my own version of grub-efi.bbclass 
> however I'm currently unsure of how to choose my custom version within 
> a image file.
>

meta/classes/bootimg.bbclass:EFI_PROVIDER ?= "grub-efi"

How about setting the above variable?

Regards,
Chen Qi

> If anyone has any suggestions on the best way forward, it would be 
> very much appreciated!
>
> Regards,
> Stuart
>
>


[-- Attachment #2: Type: text/html, Size: 2135 bytes --]

      parent reply	other threads:[~2014-12-29  2:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-23 17:14 changing grub.cfg per image Stuart Weaver
2014-12-24 17:17 ` Khem Raj
2014-12-29  2:36 ` ChenQi [this message]

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=54A0BE1C.3010306@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=yocto@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.