Merge pull request #1411 from ogayot/FR-2404

keyboard: fix wrong keyboard layout in initramfs
This commit is contained in:
Olivier Gayot 2022-09-12 17:32:27 +02:00 committed by GitHub
commit 8c7df86c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -101,6 +101,14 @@ class KeyboardModel:
'permissions': 0o644,
},
},
'curthooks_commands': {
# The below command must be run after updating
# etc/default/keyboard on the target so that the initramfs uses
# the keyboard mapping selected by the user. See LP #1894009
'002-setupcon-save-only': [
'curtin', 'in-target', '--', 'setupcon', '--save-only',
],
},
}
def setting_for_lang(self, lang):