diff -Nru livecd-rootfs-2.408.29/debian/changelog livecd-rootfs-2.408.30/debian/changelog --- livecd-rootfs-2.408.29/debian/changelog 2018-04-17 20:28:50.000000000 +0000 +++ livecd-rootfs-2.408.30/debian/changelog 2018-05-08 16:32:29.000000000 +0000 @@ -1,3 +1,10 @@ +livecd-rootfs (2.408.30) xenial; urgency=medium + + * Set the default locale to C.UTF-8 in minimized cloud images. + (LP: #1759003) + + -- Robert C Jennings Tue, 08 May 2018 11:32:29 -0500 + livecd-rootfs (2.408.29) xenial; urgency=medium [ Christopher Glass ] diff -Nru livecd-rootfs-2.408.29/live-build/auto/build livecd-rootfs-2.408.30/live-build/auto/build --- livecd-rootfs-2.408.29/live-build/auto/build 2018-04-17 19:28:29.000000000 +0000 +++ livecd-rootfs-2.408.30/live-build/auto/build 2018-05-08 16:32:29.000000000 +0000 @@ -31,6 +31,18 @@ lb bootstrap "$@" + case $PROJECT in + ubuntu-cpc) + if [ "${SUBPROJECT:-}" = minimized ] ; then + # Set locale to C.UTF-8 by default for minimized + # images. We can do this for all ubuntu-cpc images + # after further testing, however minimized images + # lack locale-gen so a change is more urgent. + echo "LANG=C.UTF-8" > chroot/etc/default/locale + fi + ;; + esac + if [ "${SUBPROJECT:-}" = minimized ] \ && ! Chroot chroot dpkg -l tzdata 2>&1 |grep -q ^ii; then # workaround for tzdata purge not removing these files