From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCHv2 2/3] base-files: profile: Do not assume that the tty command exists
Date: Tue, 11 Apr 2017 15:06:32 +0100 [thread overview]
Message-ID: <1491919592.12091.18.camel@linuxfoundation.org> (raw)
In-Reply-To: <20170405134642.12572-2-pkj@axis.com>
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@axis.
> com>
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@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
next prev parent reply other threads:[~2017-04-11 14:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-05 13:46 [PATCHv2 1/3] base-files: profile: Whitespace clean up Peter Kjellerstedt
2017-04-05 13:46 ` [PATCHv2 2/3] base-files: profile: Do not assume that the tty command exists Peter Kjellerstedt
2017-04-11 14:06 ` Richard Purdie [this message]
2017-04-05 13:46 ` [PATCHv2 3/3] base-files: profile: Simplify setting variables conditionally Peter Kjellerstedt
2017-04-05 14:44 ` Richard Purdie
2017-04-06 7:21 ` Peter Kjellerstedt
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=1491919592.12091.18.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox