From 3af0018134db5547b022551a5d9f1e9ca9e3bb8c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 18 May 2009 16:22:20 -0400 Subject: Install a en_US.UTF-8 locale in the first stage image. We need a UTF-8 locale so that isprint() and wc* do the right thing. --- scripts/mk-images | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/mk-images b/scripts/mk-images index e7b30cea2..bd3ea5d47 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -617,6 +617,8 @@ makeinitrd() { install -m 644 $IMGPATH/etc/group $MBD_DIR/etc/group install -m 644 $IMGPATH/etc/nsswitch.conf $MBD_DIR/etc/nsswitch.conf install -m 644 $IMGPATH/etc/hosts $MBD_DIR/etc/hosts + mkdir -p $MBD_DIR/usr/lib/locale + localedef -c -i en_US -f UTF-8 --prefix $MBD_DIR en_US instbin $IMGPATH /usr/bin/mount $MBD_DIR /sbin/mount for mountcmd in $IMGPATH/usr/sbin/mount.* ; do -- cgit