I have been wondering ifsome update script could grab the keyboard layout from a desktop environment where the upgrade is initiated? I really don't like submitting bug reports with this little data about reproductivity, but the risk of system becoming unbootable is a big deal and I felt it was necessary.