[Aboriginal] Replacing bash with mksh

Rob Landley rob at landley.net
Sat Jun 8 00:00:05 PDT 2013

On 06/04/2013 12:16:57 PM, Prasanna Balan wrote:
> On 04/06/13, Rob Landley wrote:
> > On 05/31/2013 03:00:09 AM, Niklas Larsson wrote:
> > > Another nice thing with mksh is that it's the default shell in  
> Android
> > > since Ice cream sandwich.
> Have been reading about it... I am thinking of replacing my user shell
> from bash to mksh..need some more time to read up on it
> > It might be nice to try to build linux from scratch with it and see
> > what breaks. I've restarted my 7.3 conversion pass last weekend and  
> I'm
> > going to try to switch on the compiler and libc builds this time,  
> but
> > I'm doing it under bash first.
> For the point... bash 4.2 broke on x86-64 when I tried about a month
> ago due to some bison issue and kbd broke due to some flex issue...
> everything else did build fine... as for the aboriginal patches,
> uClibc needed include/sys/mount changes via two patches... the ones
> they did to be "up-to-date" with glibc and obviously the chmod -f from
> toybox

I have the partial 7.3 conversion you sent me many moons ago. (Sorry  
it's taken so long, I was down to about 4 hours of sleep a night for a  
while there. Got through that and now have semi-normal evenings and  
weekends again, and am trying to catch up with multiple backlogs. I'll  
probably jump straight to the 3.10 kernel, but since 3.8 the kernel  
guys broke 3 architectures I still have to bisect and fix...)

Oh, and architecturally I vaguely want to fit toybox into initramfs and  
have the toolchain be the /dev/hda squashfs mounted somewhere and added  
to the $PATH. Right now the SYSIMAGE_TYPE=initramfs stuff doesn't get  
enough testing, or the no native tools version of the root filesystem.  
Having it be a runtime option makes that easier. When I'll get time to  
_do_ this, who knows...


More information about the Aboriginal mailing list