diff options
author | Alexis Lothoré <alexis.lothore@bootlin.com> | 2024-07-05 16:46:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-08 09:17:09 +0100 |
commit | e98a6f6812d149250a683ddfa11f5d0df422c0f2 (patch) | |
tree | 239ef0b3899f7680a218f02d8aba56f8f8d9748a /meta/files/common-licenses/Zimbra-1.4 | |
parent | 5d5297775a3db869409f5f945b2e8c93e4738e7c (diff) | |
download | poky-e98a6f6812d149250a683ddfa11f5d0df422c0f2.tar.gz |
oeqa/ssh: allow to retrieve raw, unformatted ouput
The ssh target is currently well tailored to easily retrieve textual output
from a command run on a remote target. It could also be used to retrieve
raw data from a command run onto a remote target (for example, to feed this
data directly to another program), but it currently suffers two minor
issues preventing such use case:
- stderr is piped to stdout, so any error log will be mixed in the program
output
- the final output is decoded as utf-8 and stripped
Allow to return the raw, unmodified output by adding an optional "raw"
parameter. Keep it to False by default to preserve the current behavior.
When enabled, do not return a string but the raw output as bytes.
(From OE-Core rev: 8d05dc6e2284b7ed7c32a8215b9c8bf6f7dabf00)
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files/common-licenses/Zimbra-1.4')
0 files changed, 0 insertions, 0 deletions