diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2010-03-02 23:39:33 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2010-03-02 23:39:33 +0100 |
commit | e478d001f43a61ba27650e1229baf0e8850a0835 (patch) | |
tree | 83c6e2844a2cb615beb4b92f4f86c5ae2f0c9408 /src/aif.sh | |
parent | 435814e98d6a5bbc47fca36cf9b912139b5bd8e0 (diff) |
fix sort order
Since recently - http://www.archlinux.org/news/476/ - we have to set LC_COLLATE
ourself.
without this setting, sorting order was inconsistent.
One of the symptons of this was filesystems getting mounted in the wrong order (
first /home, /boot and then /), causing obvious breakages and weird output in df.
With this fix, first / gets mounted, then /boot and /home.
We use sorting at multiple places within AIF and i believe they all expect LC_COLLATE=C
Diffstat (limited to 'src/aif.sh')
-rwxr-xr-x | src/aif.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ LOG_DIR=/var/log/aif LOGFILE=$LOG_DIR/aif.log DISCLAIMER="Note that despite our careful coding and proper testing there may still be bugs in this software.\n When you are doing this installation on a system where some data must be preserved, we suggest you make a backup first" +export LC_COLLATE=C # for consistent sorting behavior ###### Early bootstrap ###### |