We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb376c commit 4a2a168Copy full SHA for 4a2a168
debian/usability-misc.postinst
@@ -44,7 +44,11 @@ generate_grub_keyboard_layouts_maybe() {
44
45
if ! [ -d /boot/grub/kb_layouts ]; then
46
if timeout --kill-after 5 5 localectl >/dev/null; then
47
- set-grub-keymap --build-all || true
+ if ischroot; then
48
+ set-grub-keymap --build-all --no-update-grub || true
49
+ else
50
+ set-grub-keymap --build-all || true
51
+ fi
52
fi
53
54
0 commit comments