[OE-core] [PATCH 1/1] sanity.bbclass: check /bin/sh is dash or bash

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jun 26 12:56:29 UTC 2015


On Fri, 2015-06-26 at 05:47 -0700, Christopher Larson wrote:
> 
> On Thu, Jun 25, 2015 at 11:23 PM, Robert Yang
> <liezhi.yang at windriver.com> wrote:
>         The build would fail when /bin/sh links to ksh or csh, we only
>         test dash
>         and bash AFAIK.
> 
> Hmm, would this break self-hosted builds, as you don’t check for
> busybox, or am I missing something? Not that I’ve ever done a build
> like that, other than using the old build appliance, and I don’t know
> much about how that was built, but maybe someone else knows better
> than I :)

I think since that is a "developer" focused image it likely has bash in
it so the check will probably work there (since bash has priority over
ash). Good thought though.

Cheers,

Richard





More information about the Openembedded-core mailing list