I'm not sure what is current policy on bash version, but with 2 small
adjustments, dracut can be easily made bash 3.1 compatible (if I haven't missed
anything).
If this is desirable, the first patch adjusts {var}>& redirections with eval
and explicit FDs, and ^^/,, case-modifiers with temporary shopt ajustment.
If it's not necessary, then 2nd patch can be adjusted to simply require at least
bash 4.0.
Also pullable from:
The following changes since commit 450f5d66944e4a4ae005c75a818c3cccd28836f3:
95udev-rules/module-setup.s: fixed symlink for udevd to initdir (2011-10-10
20:17:16 +0200)
are available in the git repository at:
git://git.hasevolq.net/dracut.git bashfix
Michal Soltys (2):
bash3 compat patch
explicitly verify bash version
dracut | 7 +++++++
dracut-functions | 11 +++++++----
modules.d/10i18n/module-setup.sh | 8 +++++---
modules.d/40network/module-setup.sh | 19 ++++++++++++-------
modules.d/90kernel-modules/module-setup.sh | 19 ++++++++++++-------
5 files changed, 43 insertions(+), 21 deletions(-)
--
1.7.5.3
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html