All of lore.kernel.org
 help / color / mirror / Atom feed
From: jfabernathy <jfabernathy@gmail.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: Hob - proper way to select machine and customer layers
Date: Fri, 22 Jun 2012 07:35:55 -0400	[thread overview]
Message-ID: <4FE4589B.8070903@gmail.com> (raw)
In-Reply-To: <1351454.WzZsGBvgHE@helios>

On 06/22/2012 07:17 AM, Paul Eggleton wrote:
> On Thursday 21 June 2012 14:39:30 jfabernathy wrote:
>> On 06/21/2012 10:49 AM, jfabernathy wrote:
>>> To use Hob, I set my environment variable and the just ran hob.  It
>>> was very slow going through the first 63 packages. I think this is
>>> because parallel options had not been set and the packages were all
>>> being downloaded again.
> You're referring to the initial pseudo build here I presume?
Yes.
>>> But after I got to the UI of hob, I got
>>> errors adding my layers to get to the meta-intel layers I wanted.  So
>>> I started over and edited local.conf and bblayer.conf prior to
>>> launching hob.  Now I could see my machine from meta-intel, but I
>>> could not add my layer in. Parsing errors.
> By parsing errors it would help if you were more specific. Do you mean the
> following?
>
> ERROR: Unable to parse /home/paul/poky/meta-intel/meta-
> cedartrail/conf/layer.conf: Failure expanding variable BBPATH, expression was
> ${BBPATH}:/home/paul/poky/meta-intel which triggered exception Exception:
> variable BBPATH references itself!
ERROR: Unable to parse /home/jim/poky/meta-hob/conf/layer.conf:
Failure expanding variable BBPATH, expression was
$(BBPATH):/home/jim/meta-jfa:/home/jim/poky/meta
which triggered exception Exception: variable BBPATH
references itself!
>>> Before I report an error, I wanted to see if I have the hob startup
>>> process right. The issues is around the right way to add
>>> meta-intel/meta-cedartrail and my personal layer in my home directory.
>>>
>>> Any advice?
>>>
>>> JIm A
>> My experimenting tells me that currently Hob (denzil) only work with new
>> added layers that are in the poky directory and not in your home
>> directory.  This is a different requirement than normal command line
>> usage of bitbake.
> Assuming the error you're seeing is the one above, I don't think that's the
> problem - the problem AFAICT is that the order of the layers hob is using is
> not the same as the order in which it displays them, and the order it uses is
> not compatible with the old method of setting BBPATH which meta-intel and its
> sub-layers use, which is 'BBPATH := "${BBPATH} /extra/path/to/add"' - if
> BBPATH is not already set as it would not be if this is the first layer in the
> list, then it is unable to expand BBPATH and you get this failure. You can
> reproduce this outside of hob just by reordering the entries in bblayers.conf.
>
> So there are a few issues highlighted here:
>
> 1) Hob is re-ordering the layer list and it definitely shouldn't be. I've filed
> bug #2649 to get this fixed.
>
> 2) We really ought to go through and fix the BBPATH setting for all layers to
> not use the old method of appending to it.
>
> 3) It may be useful for people to be able to change the order of layers in the
> layer list within hob, particularly for situations where class/conf files are
> overlayed (which is to be avoided, but does occur).
>
> Cheers,
> Paul
>
Seems that you understand the problem :-)

Jim A




      reply	other threads:[~2012-06-22 11:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-21 14:49 Hob - proper way to select machine and customer layers jfabernathy
2012-06-21 18:39 ` jfabernathy
2012-06-22 11:17   ` Paul Eggleton
2012-06-22 11:35     ` jfabernathy [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=4FE4589B.8070903@gmail.com \
    --to=jfabernathy@gmail.com \
    --cc=paul.eggleton@linux.intel.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.