distro: squeeze: with serial-mode this keymap workaround isnt needed

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 099d1d1f3e
commit 18b7e39801

@ -960,6 +960,13 @@ case "$DIST" in
cp -v ${DIR}/scripts/debian-finish.sh ${TEMPDIR}/initrd-tree/etc/finish-install.sh
;;
esac
if [ "$SERIAL_MODE" ];then
#Squeeze: keymaps aren't an issue with serial mode so disable preseed workaround:
sed -i -e 's:d-i console-tools:#d-i console-tools:g' ${TEMPDIR}/initrd-tree/preseed.cfg
sed -i -e 's:d-i debian-installer:#d-i debian-installer:g' ${TEMPDIR}/initrd-tree/preseed.cfg
sed -i -e 's:d-i console-keymaps-at:#d-i console-keymaps-at:g' ${TEMPDIR}/initrd-tree/preseed.cfg
fi
}
function initrd_fixes {

@ -5,7 +5,8 @@ d-i apt-setup/contrib boolean true
# Squeeze only: (doesn't seem to effect maverick/natty/oneiric/precise..)
# (working around a gcc/bug, where netinstall locks up here, cross compiled *.deb would work fine...)
d-i console-tools/archs string skip-config
# Note: this workaround is disabled in serial mode
d-i console-tools/archs string skip-config
d-i debian-installer/locale string en_US
d-i console-keymaps-at/keymap select us

Loading…
Cancel
Save