livedvd: enable glibc locales
This commit is contained in:
parent
0897bf21e2
commit
e6b161cbc0
@ -75,6 +75,8 @@ for l in $MULTILANGUAGE; do
|
|||||||
"de") LABEL="Deutsch"; LOCALELANG="de_DE.UTF-8"; VCONSOLEKEYMAP="de" ;;
|
"de") LABEL="Deutsch"; LOCALELANG="de_DE.UTF-8"; VCONSOLEKEYMAP="de" ;;
|
||||||
*) LABEL="$l"
|
*) LABEL="$l"
|
||||||
esac
|
esac
|
||||||
|
# Enable glibc locale
|
||||||
|
sed -i "s|#${LOCALELANG}|${LOCALELANG}|" ${MOUNTDIR}/etc/locale.gen
|
||||||
cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
cat >> $MOUNTDIR2/boot/grub/grub.cfg << _EOF
|
||||||
submenu "${LABEL}" {
|
submenu "${LABEL}" {
|
||||||
_EOF
|
_EOF
|
||||||
@ -139,6 +141,8 @@ _EOF
|
|||||||
_EOF
|
_EOF
|
||||||
done
|
done
|
||||||
|
|
||||||
|
chroot $MOUNTDIR locale-gen
|
||||||
|
|
||||||
# install memtest
|
# install memtest
|
||||||
if [ -e $MOUNTDIR/boot/memtest86+.bin ]; then
|
if [ -e $MOUNTDIR/boot/memtest86+.bin ]; then
|
||||||
cp $MOUNTDIR/boot/memtest86+.bin $MOUNTDIR2/boot/memtest
|
cp $MOUNTDIR/boot/memtest86+.bin $MOUNTDIR2/boot/memtest
|
||||||
|
Loading…
Reference in New Issue
Block a user