1234567891011121314 |
- #!/bin/sh
- type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
- LOCALE=$(getarg locale.LANG)
- [ -z "$LOCALE" ] && LOCALE="en_US.UTF-8"
- sed -e "s,^\#\($LOCALE.*\),\1," -i $NEWROOT/etc/default/libc-locales
- chroot $NEWROOT xbps-reconfigure -f glibc-locales >/dev/null 2>&1
|