mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove auto_locale from setup, not working anymore
This commit is contained in:
parent
01a91d1d7f
commit
8e84c8a47b
1 changed files with 0 additions and 12 deletions
|
@ -3073,7 +3073,6 @@ install_packages() {
|
|||
auto_fstab
|
||||
auto_mdadm
|
||||
auto_luks
|
||||
auto_locale
|
||||
# tear down the chroot environment
|
||||
chroot_umount
|
||||
}
|
||||
|
@ -3110,17 +3109,6 @@ auto_fstab(){
|
|||
fi
|
||||
}
|
||||
|
||||
# auto_locale()
|
||||
# enable glibc locales from rc.conf and build initial locale DB
|
||||
auto_locale()
|
||||
{
|
||||
for i in $(grep "^LOCALE" ${DESTDIR}/etc/rc.conf | sed -e 's/.*="//g' -e's/\..*//g'); do
|
||||
sed -i -e "s/^#${i}/${i}/g" ${DESTDIR}/etc/locale.gen
|
||||
done
|
||||
DIALOG --infobox "Generating glibc base locales..." 4 40
|
||||
chroot ${DESTDIR} locale-gen >/dev/null 2>&1
|
||||
}
|
||||
|
||||
# auto_mdadm()
|
||||
# add mdadm setup to existing /etc/mdadm.conf
|
||||
auto_mdadm()
|
||||
|
|
Loading…
Reference in a new issue