wheezy: usb keymaps are loaded after you select one, so if your usb driver is a module, well...

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 3171b1fa49
commit f36992df4c

@ -48,6 +48,7 @@ conf_fdtaddr="0x815f0000"
conf_initrdaddr="0x81600000" conf_initrdaddr="0x81600000"
need_dtbs=1 need_dtbs=1
need_ti_connectivity_firmware=1 need_ti_connectivity_firmware=1
conf_kernel_usb_not_builtin=1
#SYSTEM="video" #SYSTEM="video"
#SYSTEM="serial" #SYSTEM="serial"

@ -3,6 +3,12 @@
d-i apt-setup/non-free boolean true d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true d-i apt-setup/contrib boolean true
# The Wheezy, USB disabled (no keyboard access) till after you select keymap bug...
#(this is not needed 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
#Removes the prompt about missing modules: #Removes the prompt about missing modules:
# Continue without installing a kernel? # Continue without installing a kernel?
d-i base-installer/kernel/skip-install boolean true d-i base-installer/kernel/skip-install boolean true

@ -1008,6 +1008,17 @@ initrd_preseed_settings () {
setup_parition_recipe setup_parition_recipe
cp -v "${DIR}/lib/${DIST}-preseed.cfg" ${TEMPDIR}/initrd-tree/preseed.cfg cp -v "${DIR}/lib/${DIST}-preseed.cfg" ${TEMPDIR}/initrd-tree/preseed.cfg
case "${DIST}" in
wheezy)
if [ ! "${SERIAL_MODE}" ] && [ "${conf_kernel_usb_not_builtin}" ]; then
#Wheezy:
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
;;
esac
cd "${DIR}"/ cd "${DIR}"/
} }

Loading…
Cancel
Save