guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 07/09: linux-initrd: don't add hid-apple module for riscv64-linux.
Date: Sun, 31 Mar 2024 17:05:16 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 88a300852f4ccf624ff0b95d029802b24d4f0d16
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Tue Mar 19 23:18:39 2024 +0800

    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>
---
 gnu/system/linux-initrd.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 6236d25b9d..f5d86219a8 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]