localedef --prefix $OSROOT --list-archive | egrep -v
$strip_locales_to_keep_re | xargs localedef --prefix $OSROOT
--delete-from-archive
mv $OSROOT/usr/lib/locale/locale-archive
$OSROOT/usr/lib/locale/locale-archive.tmpl
chroot $OSROOT /usr/sbin/build-locale-archive
find "$OSROOT/usr/share/i18n/locales/" -type f | egrep -v
$strip_locales_to_keep_re | xargs rm -rf
find "$OSROOT/usr/share/zoneinfo/" -type f | egrep -v
$strip_tz_to_keep_re | xargs rm -rf