SmartestHome/hosts/steam-tv-box/configs/installer/preseed.cfg

25 lines
1.5 KiB
INI

# Only relevant when `enable_installer` is true for this kiosk in CoreSystemConfig.json.
#
# Unlike the thin client, this one is worth turning on: a gaming box wants games on a
# real disk rather than in a live session's RAM overlay, so the normal path here is an
# actual install. See hosts/steam-tv-box/README.md.
#
# THIS FILE IS THE SOURCE, NOT THE ONE LIVE-BUILD READS.
# build-steam-tv-box-iso.sh substitutes @KEYBOARD_LAYOUT@ and writes the result to
# live-build/config/preseed.cfg on every run, so that the installer's default layout
# follows household.keyboard_layout in CoreSystemConfig.json instead of being a second
# place the layout can be wrong. The generated copy is regenerated every build — edit
# this one. (The thin client hardcodes its layout here because its installer is off by
# default; this image's is not.)
#
# live-build auto-includes config/preseed.cfg into the debian-installer's preseed when
# --debian-installer is not "none". VERIFY: this is live-build's documented mechanism
# for this, but has not been exercised — if enable_installer is turned on, confirm the
# installer's keyboard step actually shows the right layout pre-selected rather than
# falling back to its own default.
#
# No "keyboard-configuration/xkb-keymap seen true" line on purpose: this preseeds the
# *default* answer, it does not skip the question, so whoever runs the installer can
# still pick a different layout for this specific machine.
d-i keyboard-configuration/xkb-keymap select @KEYBOARD_LAYOUT@