mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Erwin Rol <mailinglists@erwinrol.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Bash version
Date: Tue, 27 Oct 2015 00:22:45 +0100	[thread overview]
Message-ID: <562EB5C5.9090802@erwinrol.com> (raw)

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

             reply	other threads:[~2015-10-26 23:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 23:22 Erwin Rol [this message]
2015-10-30  8:15 ` Michael Olbrich
2015-11-02 10:43   ` Michael Olbrich
2016-05-10  7:52     ` Gieseler, Christian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=562EB5C5.9090802@erwinrol.com \
    --to=mailinglists@erwinrol.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox