[Buildroot] [PATCH] package/bash: add /bin/bash to /etc/shells

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jan 12 20:21:57 UTC 2018


Hello,

On Fri, 12 Jan 2018 18:35:10 +0100, Yann E. MORIN wrote:

> On 2018-01-12 09:59 +0100, Thomas Petazzoni spake thusly:
> > On Thu, 11 Jan 2018 18:13:57 +0100, Yann E. MORIN wrote:  
> > >     grep -E '^/bin/bash$' $(TARGET_DIR)/etc/shells >/dev/null 2>&1 \  
> > grep -q ?  
> 
> -q is not POSIX. Redirecting is guaranteed to always work.

Knowing that Buildroot only supports Linux hosts, do we care about -q
not being POSIX ?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list