From e478d001f43a61ba27650e1229baf0e8850a0835 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 2 Mar 2010 23:39:33 +0100 Subject: 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 --- src/aif.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/aif.sh b/src/aif.sh index 8920b37..45399ae 100755 --- a/src/aif.sh +++ b/src/aif.sh @@ -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 ###### -- cgit v1.2.3-54-g00ecf