diff --git a/build_image.sh b/build_image.sh index 003f865e12fcedb0a553804cad7baf0f329684de..be54ca7c0cbde081bf755fd41b0604f119e8dc3c 100755 --- a/build_image.sh +++ b/build_image.sh @@ -263,7 +263,7 @@ chroot_COPY_SETUP_SDCARD="enable" dpkg_arch="armhf" #DEFAULT_RELEASES="quantal raring saucy wheezy jessie" -DEFAULT_RELEASES="quantal raring wheezy jessie" +DEFAULT_RELEASES="wheezy jessie" for REL in ${RELEASES:-$DEFAULT_RELEASES} ; do ${REL}_release done diff --git a/scripts/chroot.sh b/scripts/chroot.sh index 51df4a1b12fa5e8dfc3977418d07ffb1833180ed..b985e339db60cb329047810aca297a66b55008b2 100755 --- a/scripts/chroot.sh +++ b/scripts/chroot.sh @@ -312,13 +312,19 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__ install_pkgs () { #These packages have binaries needed by this script. - packages="initramfs-tools git-core sudo u-boot-tools wget" + packages="initramfs-tools locales git-core sudo u-boot-tools wget" for pkg in \${packages} ; do check_n_install ; done #Install the user choosen list. apt-get -y --force-yes install ${base_pkg_list} } + set_locale () { + echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen + locale-gen + echo "LANG=en_US.UTF-8" > /etc/default/locale + } + dl_pkg_src () { mkdir -p /tmp/pkg_src/ cd /tmp/pkg_src/ @@ -472,6 +478,7 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__ install_pkg_updates install_pkgs + set_locale if [ "x${chroot_ENABLE_DEB_SRC}" = "xenable" ] ; then dl_pkg_src