From 000e1b6d32a3b3fc8a8c4638b2ceb5fa23dee715 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Mon, 8 Aug 2016 17:13:43 +0200 Subject: [PATCH] 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. --- debootstrap-ng.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/debootstrap-ng.sh b/debootstrap-ng.sh index 20aefda8c0..f3ef853fce 100644 --- a/debootstrap-ng.sh +++ b/debootstrap-ng.sh @@ -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