mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Bash version
@ 2015-10-26 23:22 Erwin Rol
  2015-10-30  8:15 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Erwin Rol @ 2015-10-26 23:22 UTC (permalink / raw)
  To: ptxdist

Hello,

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?

Redhat 6 has bash;
GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)

Replacing a shell (without changing /bin/bash) seems really hard because
of all the #!/bin/bash that is used in ptxdist scripts.

here a quick link to the commit;

http://git.pengutronix.de/?p=ptxdist.git;a=commit;h=0ab42164bd294970997ac8d9111ca19fea72b56f

TIA,

Erwin


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-10  7:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26 23:22 [ptxdist] Bash version Erwin Rol
2015-10-30  8:15 ` Michael Olbrich
2015-11-02 10:43   ` Michael Olbrich
2016-05-10  7:52     ` Gieseler, Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox