Merge pull request #1411 from ogayot/FR-2404
keyboard: fix wrong keyboard layout in initramfs
This commit is contained in:
commit
8c7df86c29
|
@ -101,6 +101,14 @@ class KeyboardModel:
|
||||||
'permissions': 0o644,
|
'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):
|
def setting_for_lang(self, lang):
|
||||||
|
|
Loading…
Reference in New Issue