xbps-src: force glibc locale generation on musl hosts.
localedef is only available with glibc, so that defer locale creation once the chroot is ready. This fixes installing bootstrap glibc pkgs on musl hosts.
This commit is contained in:
parent
c38816c595
commit
c9dede4e23
2 changed files with 1 additions and 2 deletions
|
@ -98,7 +98,6 @@ chroot_prepare() {
|
|||
# Prepare default locale: en_US.UTF-8.
|
||||
if [ -z "$XBPS_TEMP_MASTERDIR" -a -s ${XBPS_MASTERDIR}/etc/default/libc-locales ]; then
|
||||
echo 'en_US.UTF-8 UTF-8' >> ${XBPS_MASTERDIR}/etc/default/libc-locales
|
||||
$XBPS_RECONFIGURE_CMD -f glibc-locales
|
||||
fi
|
||||
|
||||
touch -f $XBPS_MASTERDIR/.xbps_chroot_init
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue