|
|
@ -31,6 +31,18 @@ Expire-Date: 0
|
|
|
|
|
|
|
|
|
|
|
|
lb bootstrap "$@"
|
|
|
|
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 ] \
|
|
|
|
if [ "${SUBPROJECT:-}" = minimized ] \
|
|
|
|
&& ! Chroot chroot dpkg -l tzdata 2>&1 |grep -q ^ii; then
|
|
|
|
&& ! Chroot chroot dpkg -l tzdata 2>&1 |grep -q ^ii; then
|
|
|
|
# workaround for tzdata purge not removing these files
|
|
|
|
# workaround for tzdata purge not removing these files
|
|
|
|