mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user