Bug 230838 - Installation of kbdcontrol should no depend on WITH_LEGACY_CONSOLE=true
Summary: Installation of kbdcontrol should no depend on WITH_LEGACY_CONSOLE=true
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-23 10:09 UTC by Philippe Michel
Modified: 2018-08-31 21:22 UTC (History)
1 user (show)

See Also:


Attachments
buildkernel error log (1.82 KB, text/plain)
2018-08-23 10:09 UTC, Philippe Michel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Michel 2018-08-23 10:09:57 UTC
Created attachment 196469 [details]
buildkernel error log

If world is built with WITHOUT_LEGACY_CONSOLE=true, building a kernel with options like:
options         KBDMUX_DFLT_KEYMAP
makeoptions     KBDMUX_DFLT_KEYMAP=fr.acc
fails with the errors from the attached file.

As far as I can see, this is due to the fact that if option KBDMUX_DFLT_KEYMAP is used, kbdcontrol is a build tool (see sys/conf/files and the "kbdmuxmap.h ... compile-with kbdcontrol ..." line) and it is not installed, and removed by make delete-old if present, if WITHOUT_LEGACY_CONSOLE=true is in src.conf.

It seems that kbdcontrol should be built and installed even if WITHOUT_LEGACY_CONSOLE is true. Note that its man page states it is not specific to the legacy console :
DESCRIPTION
     The kbdcontrol command is used to set various keyboard related options
     for the syscons(4)	or vt(4) console driver	and the	keyboard drivers