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 1cd4211 commit febbc24Copy full SHA for febbc24
mkosi.presets/00-base/mkosi.build
@@ -55,6 +55,13 @@ if [ ! -f "$BUILDDIR"/build.ninja ]; then
55
UKIFY=true
56
fi
57
58
+ # On Debian 'loadkeys us' fails
59
+ if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then
60
+ DEFAULT_KEYMAP=""
61
+ else
62
+ DEFAULT_KEYMAP="us"
63
+ fi
64
+
65
CONFIGURE_OPTS=(
66
-D sysvinit-path="$sysvinit_path"
67
-D rootprefix="$rootprefix"
@@ -149,6 +156,7 @@ if [ ! -f "$BUILDDIR"/build.ninja ]; then
149
156
-D first-boot-full-preset=true
150
157
-D initrd=true
151
158
-D fexecve=true
159
+ -D default-keymap="$DEFAULT_KEYMAP"
152
160
)
153
161
154
162
# On debian-like systems the library directory is not /usr/lib64 but /usr/lib/<arch-triplet>/.
0 commit comments