Skip to content

Commit

Permalink
initrd: Include i8042 kernel module
Browse files Browse the repository at this point in the history
For some reason, between Linux 4.4.19 and 4.4.20, the atkbd and libps2
kernel modules lost their dependency on i8042 in modules.dep, causing
i8042 not to be included in the initrd. This breaks keyboard in the
initrd, in turn breaking LUKS.

This only happens on the 16.03 branch; on 16.09, it appears i8042 is
pulled into the initrd anyway (through some other dependency,
presumably). But let's include it explicitly.

http://hydra.nixos.org/build/40468431
(cherry picked from commit e6088f7)
  • Loading branch information
edolstra committed Oct 21, 2016
1 parent 4bd888f commit c1c0484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/system/boot/kernel.nix
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ in
"hid_generic" "hid_lenovo"
"hid_apple" "hid_logitech_dj" "hid_lenovo_tpkbd" "hid_roccat"

# Misc. stuff.
"pcips2" "atkbd"
# Misc. keyboard stuff.
"pcips2" "atkbd" "i8042"

# To wait for SCSI devices to appear.
"scsi_wait_scan"
Expand Down

0 comments on commit c1c0484

Please sign in to comment.