Small deboostrap / console defaults creation bugfix. Problem was manifesting in Xenial with: "Failed to start Set console font and keymap". With this patch, it's ok.

This commit is contained in:
Igor Pecovnik
2016-08-08 17:13:43 +02:00
parent e9c3324219
commit 000e1b6d32

View File

@@ -185,6 +185,7 @@ create_rootfs_cache()
if [[ -f $CACHEDIR/sdcard/etc/default/console-setup ]]; then
sed -e 's/CHARMAP=.*/CHARMAP="UTF-8"/' -e 's/FONTSIZE=.*/FONTSIZE="8x16"/' \
-e 's/CODESET=.*/CODESET="guess"/' -i $CACHEDIR/sdcard/etc/default/console-setup
eval 'LC_ALL=C LANG=C chroot $CACHEDIR/sdcard /bin/bash -c "setupcon --save"'
fi
# stage: copy proper apt sources list