This file is indexed.

/usr/bin/grub-kbdcomp is in grub-common 1.99-21ubuntu3.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#!/bin/sh

transform="s,x,x,"

prefix="/usr"
exec_prefix="${prefix}"
bindir="${exec_prefix}/bin"

grub_mklayout=${bindir}/`echo grub-mklayout | sed ${transform}`

ckbcomp "$@" | $grub_mklayout -o "$1".gkb