From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [RESEND PATCH v5 1/4] cmd: env: add option for quiet output on env info
Date: Mon, 27 Jul 2020 09:33:24 -0400 [thread overview]
Message-ID: <20200727133324.GJ6965@bill-the-cat> (raw)
In-Reply-To: <20200619120337.17042-2-patrick.delaunay@st.com>
On Fri, Jun 19, 2020 at 02:03:34PM +0200, Patrick Delaunay wrote:
> The "env info" can be use for test with -d and -p parameter,
> in scripting case the output of the command is not needed.
>
> This patch allows to deactivate this output with a new option "-q".
>
> For example, we can save the environment if default
> environment is used and persistent storage is managed with:
> if env info -p -d -q; then env save; fi
>
> Without the quiet option, I have the unnecessary traces
> First boot:
> Default environment is used
> Environment can be persisted
> Saving Environment to EXT4... File System is consistent
>
> Next boot:
> Environment was loaded from persistent storage
> Environment can be persisted
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200727/3c65cd10/attachment.sig>
next prev parent reply other threads:[~2020-07-27 13:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-19 12:03 [RESEND PATCH v5 0/4] cmd: env: add option for quiet output on env info Patrick Delaunay
2020-06-19 12:03 ` [RESEND PATCH v5 1/4] " Patrick Delaunay
2020-06-19 14:51 ` Tom Rini
2020-07-27 13:33 ` Tom Rini [this message]
2020-06-19 12:03 ` [RESEND PATCH v5 2/4] cmd: env: check real location for env info command Patrick Delaunay
2020-06-19 14:51 ` Tom Rini
2020-07-27 13:33 ` Tom Rini
2020-06-19 12:03 ` [RESEND PATCH v5 3/4] configs: sandbox: Enable sub command 'env info' Patrick Delaunay
2020-07-27 13:33 ` Tom Rini
2020-06-19 12:03 ` [RESEND PATCH v5 4/4] test: env: add test for env info sub-command Patrick Delaunay
2020-06-22 18:50 ` Stephen Warren
2020-06-23 13:25 ` Patrick DELAUNAY
2020-06-23 20:24 ` Stephen Warren
2020-06-24 7:30 ` Patrick DELAUNAY
2020-07-27 13:33 ` Tom Rini
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=20200727133324.GJ6965@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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