Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 75564 Details for
Bug 62273
[PATCH] PORTAGE_QUIET= (suppress screen output for scripts)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
quiet.patch
quiet.patch (text/plain), 1.89 KB, created by
solar (RETIRED)
on 2005-12-26 12:31:13 UTC
(
hide
)
Description:
quiet.patch
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2005-12-26 12:31:13 UTC
Size:
1.89 KB
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 2482) >+++ pym/portage.py (working copy) >@@ -1934,8 +1934,9 @@ > os.unlink(mysettings["DISTDIR"]+"/"+myfile) > fetched=0 > else: >- for x_key in mydigests[myfile].keys(): >- writemsg(">>> Previously fetched file: "+str(myfile)+" "+x_key+" ;-)\n") >+ if os.environ.get("PORTAGE_QUIET", "") == "": >+ for x_key in mydigests[myfile].keys(): >+ writemsg(">>> Previously fetched file: "+str(myfile)+" "+x_key+" ;-)\n") > fetched=2 > break #No need to keep looking for this file, we have it! > else: >@@ -2037,8 +2038,9 @@ > os.unlink(mysettings["DISTDIR"]+"/"+myfile) > fetched=0 > else: >- for x_key in mydigests[myfile].keys(): >- writemsg(">>> "+str(myfile)+" "+x_key+" ;-)\n") >+ if os.environ.get("PORTAGE_QUIET", "") == "": >+ for x_key in mydigests[myfile].keys(): >+ writemsg(">>> "+str(myfile)+" "+x_key+" ;-)\n") > fetched=2 > break > except (OSError,IOError),e: >@@ -2293,7 +2295,8 @@ > print > return 0 > else: >- print ">>> checksums "+note+" ;-)",x >+ if os.environ.get("PORTAGE_QUIET", "") == "": >+ print ">>> checksums "+note+" ;-)",x > return 1 > > >Index: bin/ebuild.sh >=================================================================== >--- bin/ebuild.sh (revision 2482) >+++ bin/ebuild.sh (working copy) >@@ -934,9 +934,11 @@ > } > > dyn_package() { >+ local tflags="" > trap "abort_package" SIGINT SIGQUIT > cd "${PORTAGE_BUILDDIR}/image" >- tar cpvf - ./ | bzip2 -f > ../bin.tar.bz2 || die "Failed to create tarball" >+ [[ -n "${PORTAGE_QUIET}" ]] || tflags="v" >+ tar cp${tflags}f - ./ | bzip2 -f > ../bin.tar.bz2 || die "Failed to create tarball" > cd .. > xpak build-info inf.xpak > tbz2tool join bin.tar.bz2 inf.xpak "${PF}.tbz2"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 62273
:
40140
|
40141
| 75564 |
84739
|
84791