On Fri, Oct 30, 2015 at 09:15:15AM +0100, Michael Olbrich wrote:
> On Tue, Oct 27, 2015 at 12:22:45AM +0100, Erwin Rol wrote:
> > since the commit 0ab42164bd294970997ac8d9111ca19fea72b56f the bash
> > version needs to be 4.2 or newer. And this makes ptxdist unusable on
> > Redhat 6 (which will only go EOL after 2020, so it is not exactly a
> > death distro)
> >
> > If I understand the commit, only one line of code in the whole of
> > ptxdist wants bash 4.2.
> >
> > 'exec {readfd}< "${fifo}"' in scripts/lib/ptxd_make_serialize.sh
> >
> > Sadly I am not exactly a bash guru, but is there really no way to do
> > this with an older bash?
I just did some tests with bash 4.1 and this actually seems to work. I
don't remember why we chose 4.2. Maybe it was just the version we tested
and since that's in Debian old-stable I didn't test anything else.
Can you change the check and see if it still works? This code is always
called during startup.
Regards,
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
[email protected]