Make bootscripts more POSIX compliant

Matthew Burgess matthew at
Thu Feb 22 10:01:10 PST 2007

On Thursday 22 February 2007 05:14, Dan Nicholson wrote:
> On 2/19/07, Dan Nicholson <dbn.lists at> wrote:
> > After the error the other day with dash and glibc-2.3.6, I decided to
> > install dash[1] and give it a whirl as /bin/sh. Things went mostly
> > pretty well with respect to rogue bashisms throughout the system. I've
> > attached some patches to fix up the bootscripts while consulting the
> > POSIX spec on shells[2].
> I revised the echo patch with Bruce's suggestions. The other two
> patches are unchanged. If these are alright, I'll commit them to
> trunk.

Thanks Dan.  The patches look fine to me.  Just one question though.  In patch 
1, would it not be cleaner to simply use `printf' rather than try to find a 
non-broken `echo'?


More information about the lfs-dev mailing list