Skip to content

Commit 5c97604

Browse files
committed
Don't try to run set-grub-keymap in a chroot at all
1 parent 4a2a168 commit 5c97604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/usability-misc.postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ generate_grub_keyboard_layouts_maybe() {
4545
if ! [ -d /boot/grub/kb_layouts ]; then
4646
if timeout --kill-after 5 5 localectl >/dev/null; then
4747
if ischroot; then
48-
set-grub-keymap --build-all --no-update-grub || true
48+
true "INFO: Skipping 'set-grub-keymap --build-all' because postinst is running in chroot, ok."
4949
else
5050
set-grub-keymap --build-all || true
5151
fi

0 commit comments

Comments
 (0)