From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Thu, 1 Jan 2015 23:02:39 +0100 Subject: [Buildroot] [PATCH 3/4 v9] pkg-download: silence downloads if make is silent In-Reply-To: <20150101225639.2890512b@free-electrons.com> References: <8537faa275be0b3bb0aec3da99d7aaf1c56db17c.1420142462.git.yann.morin.1998@free.fr> <20150101225639.2890512b@free-electrons.com> Message-ID: <20150101220239.GL4360@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas, All, On 2015-01-01 22:56 +0100, Thomas Petazzoni spake thusly: > On Thu, 1 Jan 2015 21:03:52 +0100, Yann E. MORIN wrote: > > From: Fabio Porcedda > > > > If it is a silent build (make -s -> QUIET=-q) silence all downloads, as > > well as the check-hash. This is done in two ways: > > - redirect stdout to /dev/null > > - pass the -q flag downward to backends > > Why do we need to do both? Redirecting stdout is a further solution for those downloaders that still want to output something on stdout, even when told to be quiet. I could not test CVS, CP and SCP because we do use them in in-tree packages, so it is just an additional precaution. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'