From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: wanting to clarify ASSUME_PROVIDED and SANITY_REQUIRED_UTILITIES
Date: Tue, 14 Aug 2012 11:21:51 +0100 [thread overview]
Message-ID: <20076596.V7nLmKGeGJ@helios> (raw)
In-Reply-To: <alpine.DEB.2.02.1208110826510.17432@oneiric>
On Saturday 11 August 2012 08:38:58 Robert P. J. Day wrote:
> recently, i know that the entry "git-native" was added to the
> entries in ASSUME_PROVIDED in bitbake.conf:
>
> ASSUME_PROVIDED = "\
> bzip2-native \
> git-native \
> grep-native \
> diffstat-native \
> patch-native \
> perl-native-runtime \
> python-native-runtime \
> tar-native \
> virtual/libintl-native \
> "
>
> ostensibly because it's now reasonable to assume that any sane distro
> should be able to provide an oe-compatible version of git. so far, so
> good. but there's this in sanity.bbclass:
>
> SANITY_REQUIRED_UTILITIES ?= "patch diffstat texi2html makeinfo git
> bzip2 tar gzip gawk chrpath wget cpio"
>
> how do those two relate to one another?
They don't directly. ASSUME_PROVIDED is just a way of satisfying build-time
dependencies of native recipes when we know they will always be installed on
the host; for most of these this is backed up by a check to see if they are
actually installed using SANITY_REQUIRED_UTILITIES.
> sanity.bbclass appears to list the native tools that *must* exist on
> the dev host, but what if one doesn't? is it then downloaded and
> built unless it's in "ASSUME_PROVIDED"?
No. If you look at the code in sanity.bbclass you'll see if something in
SANITY_REQUIRED_UTILITIES is missing you'll get an immediate fatal error.
> also, is there any convenient way to examine my current dev host to
> see what native utilities are candidates for adding to my local
> ASSUME_PROVIDED?
I think you're on your own there - we recommend you leave ASSUME_PROVIDED as-
is.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
prev parent reply other threads:[~2012-08-14 10:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-11 12:38 wanting to clarify ASSUME_PROVIDED and SANITY_REQUIRED_UTILITIES Robert P. J. Day
2012-08-14 10:21 ` Paul Eggleton [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=20076596.V7nLmKGeGJ@helios \
--to=paul.eggleton@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=rpjday@crashcourse.ca \
/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.