tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Testing mksh as bootstrap shell

* On 2020-06-24 at 13:48 BST, Jonathan Perkin wrote:

> So, on Benny's recommendation, I took a look at shells/mksh instead,
> and it actually looks pretty good.  Not much larger than dash, looks
> very portable, and so far has only needed one small patch to fix an
> issue with bootstrapping using the legacy Solaris /bin/sh.
> I have a branch here:

I have two completed bulk builds with this enabled.



Both look good, and I've also now included the "ulimit -m" patch on
macOS as discussed in that branch which will fix the main fallout from

Upstream have also included both of my patches so the next release
shouldn't require any manual pkgsrc patching:

In light of successful tests and a responsive upstream, I'd like to go
ahead and import mksh as an alternative bootstrap shell, and enable it
at least initially on Darwin to work around the SIP issues.

Over time we can look at converting other platforms away from the
crufty pdksh as and when they are tested.

If you have any objections let me know, as I said earlier I want us to
make a one-time decision on this so as not to bloat the tree, and we
definitely don't want to end up with 3+ bootstrap shells.


Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index