Downgrade kbd dependency to Recommends unconditionally
Commitab743db0made the dependency weak for %{with upstream} builds only, because upstream 3327a411be3e ("vconsole-setup: handle gracefully if setfont/loadkeys are not available") landed after v260 was released. Rawhide now has v261.2, so the condition is always true here. The hard requirement came from01e2d8a9(2020, rhbz#1408878), which "upgraded" the Recommends originally added in4ebba8aa. Now that systemd-vconsole-setup logs a notice and skips keymap and font setup when the binaries are absent, kbd is only needed to actually apply a non-default console keymap or font. This again lets minimal images that disable weak dependencies leave out kbd together with the libxkbcommon, xkeyboard-config, and libxml2 chain it pulls in: about 9 MB uncompressed. That particularly affects initrds, which are unpacked into RAM.
This commit is contained in:
parent
94948d9db3
commit
8c0ffebeea
1 changed files with 0 additions and 5 deletions
|
|
@ -532,13 +532,8 @@ Requires: libblkid.so.1(BLKID_2.30)%{?elf_bits}
|
|||
# https://bugzilla.redhat.com/show_bug.cgi?id=1377733#c9
|
||||
Suggests: systemd-bootchart
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1408878
|
||||
%if %{with upstream}
|
||||
# v261 handles missing setfont/loadkeys gracefully
|
||||
Recommends: kbd
|
||||
%else
|
||||
Requires: kbd
|
||||
%endif
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1753381
|
||||
Provides: u2f-hidraw-policy = 1.0.2-40
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue