On Friday 18 Jun 2010 12:38:41 Amadeusz Żołnowski wrote: > Dracut rely upon programs' output like ldd's "not a dynamic executable". > Assume user sets up Polish locales and then ldd prints > "nie jest dynamicznym programem wykonywalnym". The patch prevents this. > --- > dracut | 15 +++++++++++++++ > 1 files changed, 15 insertions(+), 0 deletions(-) > > diff --git a/dracut b/dracut > index 3be4989..1437625 100755 > --- a/dracut > +++ b/dracut > @@ -107,6 +118,10 @@ done > > PATH=/sbin:/bin:/usr/sbin:/usr/bin > export PATH > +# We rely upon programs' output like ldd's "not found", so we have to > +# set up English locales. > +change_locales en_US > + > > [[ $debug ]] && { > export PS4='${BASH_SOURCE}@${LINENO}(${FUNCNAME[0]}): '; I don't have any en_US locales installed on my system. Not sure why a Pole would either. You'd probably be better off with the "C" locale, IMHO. Adam -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html