livedvd: enable glibc locales

This commit is contained in:
Silvan Calarco 2024-10-26 11:08:44 +02:00
parent 0897bf21e2
commit e6b161cbc0

View File

@ -75,6 +75,8 @@ for l in $MULTILANGUAGE; do
"de") LABEL="Deutsch"; LOCALELANG="de_DE.UTF-8"; VCONSOLEKEYMAP="de" ;;
*) LABEL="$l"
esac
# Enable glibc locale
sed -i "s|#${LOCALELANG}|${LOCALELANG}|" ${MOUNTDIR}/etc/locale.gen
cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
submenu "${LABEL}" {
_EOF
@ -139,6 +141,8 @@ _EOF
_EOF
done
chroot $MOUNTDIR locale-gen
# install memtest
if [ -e $MOUNTDIR/boot/memtest86+.bin ]; then
cp $MOUNTDIR/boot/memtest86+.bin $MOUNTDIR2/boot/memtest