#!/bin/bash # $Id$ : ${INSTALL_ROOT="/mnt/magellan"} # setup locale install -d ${INSTALL_ROOT}/etc/env.d echo "LC_ALL=\"${LOCALE}\"" > ${INSTALL_ROOT}/etc/env.d/01locale # create locale sed -i "s:^#${LOCALE}:${LOCALE}:g" ${INSTALL_ROOT}/etc/locale.gen chroot ${CDCHROOTDIR} locale-gen