[OE-core] [PATCHv2 2/3] base-files: profile: Do not assume that the tty command exists

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 11 14:06:32 UTC 2017


On Wed, 2017-04-05 at 15:46 +0200, Peter Kjellerstedt wrote:
> This avoids the following error when logging in to a host that does
> not have the tty command:
> 
> -sh: tty: not found
> 
> Reported-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.
> com>
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
> ---
>  meta/recipes-core/base-files/base-files/profile   | 6 +++---
>  meta/recipes-core/base-files/base-files_3.0.14.bb | 4 ----
>  2 files changed, 3 insertions(+), 7 deletions(-)

So instead we now break systems which don't have "command" which turns
out to be all our default busybox configuration :(.

Thanks for spotting this Nathan...

Cheers,

Richard



More information about the Openembedded-core mailing list