diff options
author | Laurent Vivier <laurent@vivier.eu> | 2019-05-17 15:31:49 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2019-05-22 20:50:55 +0200 |
commit | 4ab6713ef6d963dcc462519054e0b137dfcf4698 (patch) | |
tree | da682c2a7f8cb2f28f639ec97259b5d6b97a9774 /linux-user/syscall_defs.h | |
parent | fff6938264fc09e941b2e572e32fa70f7da7f884 (diff) |
linux-user: add pseudo /proc/hardware for m68k
Debian console-setup uses /proc/hardware to guess the keyboard layout.
If the file /proc/hardware cannot be opened, the installation fails.
This patch adds a pseudo /proc/hardware file to report the model of
the machine. Instead of reporting a known and fake model, it
reports "qemu-m68k", which is true, and avoids to set the configuration
for an Amiga/Apple/Atari and let the user to chose the good one.
Bug: https://github.com/vivier/qemu-m68k/issues/34
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190517133149.19593-3-laurent@vivier.eu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/syscall_defs.h')
0 files changed, 0 insertions, 0 deletions