* how to properly use "EXTRA_ASSUME_PROVIDED"?
@ 2012-07-25 20:06 Robert P. J. Day
2012-07-25 21:21 ` Richard Purdie
0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2012-07-25 20:06 UTC (permalink / raw)
To: OE Core mailing list
what is the proper way to use EXTRA_ASSUME_PROVIDED, and is the
effect of that visible in the bitbake environment?
as in, based on the current version of bitbake.conf, i can see this
with "bitbake -e":
ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
patch-native perl-native-runtime python-native-runtime tar-native
virtual/libintl-native"
if i add the following silliness to my local.conf,
ASSUME_PROVIDED += "rday-native"
i can see that in the env as well:
ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
patch-native perl-native-runtime python-native-runtime tar-native
virtual/libintl-native rday-native"
but is it correct to run the following:
$ bitbake -I EXTRA_ASSUME_PROVIDED="rday-native" -e core-image-minimal
and if it is, should i be able to verify that anywhere in the
environment? doesn't seem so. from bitbake/lib/bb/cooker.py, it
looks like whatever i put there is being processed thusly:
ignore = self.configuration.data.getVar("ASSUME_PROVIDED", True) or ""
self.status.ignored_dependencies = set(ignore.split())
for dep in self.configuration.extra_assume_provided:
self.status.ignored_dependencies.add(dep)
so is there any way to see that? thanks.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: how to properly use "EXTRA_ASSUME_PROVIDED"?
2012-07-25 20:06 how to properly use "EXTRA_ASSUME_PROVIDED"? Robert P. J. Day
@ 2012-07-25 21:21 ` Richard Purdie
2012-07-26 0:10 ` Robert P. J. Day
0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2012-07-25 21:21 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2012-07-25 at 16:06 -0400, Robert P. J. Day wrote:
> what is the proper way to use EXTRA_ASSUME_PROVIDED, and is the
> effect of that visible in the bitbake environment?
>
> as in, based on the current version of bitbake.conf, i can see this
> with "bitbake -e":
>
> ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
> patch-native perl-native-runtime python-native-runtime tar-native
> virtual/libintl-native"
>
> if i add the following silliness to my local.conf,
>
> ASSUME_PROVIDED += "rday-native"
>
> i can see that in the env as well:
>
> ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
> patch-native perl-native-runtime python-native-runtime tar-native
> virtual/libintl-native rday-native"
>
> but is it correct to run the following:
>
> $ bitbake -I EXTRA_ASSUME_PROVIDED="rday-native" -e core-image-minimal
>
> and if it is, should i be able to verify that anywhere in the
> environment? doesn't seem so. from bitbake/lib/bb/cooker.py, it
> looks like whatever i put there is being processed thusly:
>
> ignore = self.configuration.data.getVar("ASSUME_PROVIDED", True) or ""
> self.status.ignored_dependencies = set(ignore.split())
>
> for dep in self.configuration.extra_assume_provided:
> self.status.ignored_dependencies.add(dep)
>
> so is there any way to see that? thanks.
Where did you come to believe EXTRA_ASSUME_PROVIDED did anything?
Cheers,
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: how to properly use "EXTRA_ASSUME_PROVIDED"?
2012-07-25 21:21 ` Richard Purdie
@ 2012-07-26 0:10 ` Robert P. J. Day
2012-07-26 7:37 ` Richard Purdie
0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2012-07-26 0:10 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 25 Jul 2012, Richard Purdie wrote:
> On Wed, 2012-07-25 at 16:06 -0400, Robert P. J. Day wrote:
> > what is the proper way to use EXTRA_ASSUME_PROVIDED, and is the
> > effect of that visible in the bitbake environment?
> >
> > as in, based on the current version of bitbake.conf, i can see this
> > with "bitbake -e":
> >
> > ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
> > patch-native perl-native-runtime python-native-runtime tar-native
> > virtual/libintl-native"
> >
> > if i add the following silliness to my local.conf,
> >
> > ASSUME_PROVIDED += "rday-native"
> >
> > i can see that in the env as well:
> >
> > ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
> > patch-native perl-native-runtime python-native-runtime tar-native
> > virtual/libintl-native rday-native"
> >
> > but is it correct to run the following:
> >
> > $ bitbake -I EXTRA_ASSUME_PROVIDED="rday-native" -e core-image-minimal
> >
> > and if it is, should i be able to verify that anywhere in the
> > environment? doesn't seem so. from bitbake/lib/bb/cooker.py, it
> > looks like whatever i put there is being processed thusly:
> >
> > ignore = self.configuration.data.getVar("ASSUME_PROVIDED", True) or ""
> > self.status.ignored_dependencies = set(ignore.split())
> >
> > for dep in self.configuration.extra_assume_provided:
> > self.status.ignored_dependencies.add(dep)
> >
> > so is there any way to see that? thanks.
>
> Where did you come to believe EXTRA_ASSUME_PROVIDED did anything?
um ... from the output of "bitbake -h":
-I EXTRA_ASSUME_PROVIDED, --ignore-deps=EXTRA_ASSUME_PROVIDED
Assume these dependencies don't exist and are already
provided (equivalent to ASSUME_PROVIDED). Useful to
make dependency graphs more appealing
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: how to properly use "EXTRA_ASSUME_PROVIDED"?
2012-07-26 0:10 ` Robert P. J. Day
@ 2012-07-26 7:37 ` Richard Purdie
2012-07-26 10:57 ` Robert P. J. Day
0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2012-07-26 7:37 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2012-07-25 at 20:10 -0400, Robert P. J. Day wrote:
> On Wed, 25 Jul 2012, Richard Purdie wrote:
>
> > On Wed, 2012-07-25 at 16:06 -0400, Robert P. J. Day wrote:
> > > what is the proper way to use EXTRA_ASSUME_PROVIDED, and is the
> > > effect of that visible in the bitbake environment?
> > >
> > > as in, based on the current version of bitbake.conf, i can see this
> > > with "bitbake -e":
> > >
> > > ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
> > > patch-native perl-native-runtime python-native-runtime tar-native
> > > virtual/libintl-native"
> > >
> > > if i add the following silliness to my local.conf,
> > >
> > > ASSUME_PROVIDED += "rday-native"
> > >
> > > i can see that in the env as well:
> > >
> > > ASSUME_PROVIDED="bzip2-native git-native grep-native diffstat-native
> > > patch-native perl-native-runtime python-native-runtime tar-native
> > > virtual/libintl-native rday-native"
> > >
> > > but is it correct to run the following:
> > >
> > > $ bitbake -I EXTRA_ASSUME_PROVIDED="rday-native" -e core-image-minimal
> > >
> > > and if it is, should i be able to verify that anywhere in the
> > > environment? doesn't seem so. from bitbake/lib/bb/cooker.py, it
> > > looks like whatever i put there is being processed thusly:
> > >
> > > ignore = self.configuration.data.getVar("ASSUME_PROVIDED", True) or ""
> > > self.status.ignored_dependencies = set(ignore.split())
> > >
> > > for dep in self.configuration.extra_assume_provided:
> > > self.status.ignored_dependencies.add(dep)
> > >
> > > so is there any way to see that? thanks.
> >
> > Where did you come to believe EXTRA_ASSUME_PROVIDED did anything?
>
> um ... from the output of "bitbake -h":
>
> -I EXTRA_ASSUME_PROVIDED, --ignore-deps=EXTRA_ASSUME_PROVIDED
> Assume these dependencies don't exist and are already
> provided (equivalent to ASSUME_PROVIDED). Useful to
> make dependency graphs more appealing
So its not a variable, its a parameter. You probably mean to run
something like:
bitbake -I rday-native -e core-image-minimal
or
bitbake --ignore-deps=rday-native -e core-image-minimal
Cheers,
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: how to properly use "EXTRA_ASSUME_PROVIDED"?
2012-07-26 7:37 ` Richard Purdie
@ 2012-07-26 10:57 ` Robert P. J. Day
2012-07-26 11:18 ` Richard Purdie
0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2012-07-26 10:57 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 26 Jul 2012, Richard Purdie wrote:
... snip ...
> So its not a variable, its a parameter. You probably mean to run
> something like:
>
> bitbake -I rday-native -e core-image-minimal
> or
> bitbake --ignore-deps=rday-native -e core-image-minimal
ok, that was embarrassing :-(, but my original question still
applies -- is there any way to see this additional ignored dependency
in the environment of my bitbake command?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: how to properly use "EXTRA_ASSUME_PROVIDED"?
2012-07-26 10:57 ` Robert P. J. Day
@ 2012-07-26 11:18 ` Richard Purdie
0 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2012-07-26 11:18 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2012-07-26 at 06:57 -0400, Robert P. J. Day wrote:
> On Thu, 26 Jul 2012, Richard Purdie wrote:
>
> ... snip ...
>
> > So its not a variable, its a parameter. You probably mean to run
> > something like:
> >
> > bitbake -I rday-native -e core-image-minimal
> > or
> > bitbake --ignore-deps=rday-native -e core-image-minimal
>
> ok, that was embarrassing :-(, but my original question still
> applies -- is there any way to see this additional ignored dependency
> in the environment of my bitbake command?
Not that I can think of offhand.
Cheers,
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-07-26 11:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-25 20:06 how to properly use "EXTRA_ASSUME_PROVIDED"? Robert P. J. Day
2012-07-25 21:21 ` Richard Purdie
2012-07-26 0:10 ` Robert P. J. Day
2012-07-26 7:37 ` Richard Purdie
2012-07-26 10:57 ` Robert P. J. Day
2012-07-26 11:18 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox