Bug 765717
| Summary: | RFE: make yum quiet when it pulls repos in %post for the first time | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Jan Stancek <jstancek> |
| Component: | lab controller | Assignee: | Bill Peck <bpeck> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.7 | CC: | bpeck, dcallagh, gozen, jburke, mcsontos, pbunyan, rmancy, stl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-15 00:16:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jan Stancek
2011-12-09 08:37:14 UTC
I checked man pages of different yum versions. --quiet started to be supported somewhere between yum-3.2.1 and yum-3.2.8. check-update is there at least since 2.1.1 (oldest yum I could find) So, redirecting to file or /dev/null (if we don't care about output) looks safer: yum check-update > /dev/null 2>&1 or (if we need to worry about things like --erroronfail) yum check-update > /dev/null 2>&1 || true Thanks. I'll work on a patch for 0.8.1 |