rimage: add quiet mode option#10627
Open
abonislawski wants to merge 1 commit intothesofproject:mainfrom
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a quiet mode to the rimage CLI to suppress informational output on stdout, making the tool easier to consume from scripts/agents while preserving stderr for errors.
Changes:
- Add
-Q/--quietoption parsing viagetopt_long(). - Update
usage()output to document the new quiet option. - Implement quiet mode by redirecting
stdoutto/dev/null.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add -Q and --quiet to suppress informational stdout logs. This makes it easier to use rimage in scripts while keeping stderr for error reporting. Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
d4cefc0 to
443b418
Compare
Collaborator
|
So what is the difference between -Q and ./rimage [params] /dev/null? |
Member
Author
While you can always redirect the output to /dev/null manually, the goal here is to have a clean, built-in option. This makes it much easier to propagate the quiet mode down to every rimage_cmd (our libs and fw sign in west build) invocation directly from the xtensa-build-script.py script. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add -Q and --quiet to suppress informational stdout logs. This makes it easier to use rimage in scripts and AI agents while keeping stderr for error reporting.