linux-initrd: don't add hid-apple module for riscv64-linux.

* gnu/system/linux-initrd.scm(default-initrd-modules): when target-riscv64,
don't add hid-apple module.

Change-Id: I633468421db0cb1ebd61e0603021fa1c79038473
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Zheng Junjie 2024-03-19 23:18:39 +08:00 committed by Ludovic Courtès
parent f72887f6f9
commit 88a300852f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -363,7 +363,10 @@ FILE-SYSTEMS."
`("ahci" ;for SATA controllers
"usb-storage" "uas" ;for the installation image etc.
"usbhid" "hid-generic" "hid-apple" ;keyboards during early boot
"usbhid" "hid-generic" ;keyboards during early boot
,@(if (target-riscv64? system)
'()
'("hid-apple"))
"dm-crypt" "xts" "serpent_generic" "wp512" ;for encrypted root partitions
"nls_iso8859-1" ;for `mkfs.fat`, et.al
,@(if (string-match "^(x86_64|i[3-6]86)-" system)