supermin/0005-init-Drop-ide-module-from-the-mini-initrd.patch
Richard W.M. Jones 5c44b1ee43 Add all upstream patches since 5.1.15 was released.
- These should improve boot performance and initrd size.
2016-03-18 13:17:56 +00:00

30 lines
867 B
Diff

From 2a6cd1a9d89885e5e708f0957f7ad97697ca9257 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Thu, 17 Mar 2016 09:38:09 +0000
Subject: [PATCH 5/9] init: Drop ide module from the mini-initrd.
In all modern kernels IDE support is provided by libata, not the
ancient ide*.ko module.
The other disadvantage of this wildcard was that it picked up various
unrelated modules, eg. ideapad_slidebar.ko (plus dependencies).
---
src/ext2_initrd.ml | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/ext2_initrd.ml b/src/ext2_initrd.ml
index 63ed493..a80ec60 100644
--- a/src/ext2_initrd.ml
+++ b/src/ext2_initrd.ml
@@ -38,7 +38,6 @@ let kmods = [
"ext2.ko*";
"ext4.ko*"; (* CONFIG_EXT4_USE_FOR_EXT23=y option might be set *)
"virtio*.ko*";
- "ide*.ko*";
"libata*.ko*";
"piix*.ko*";
"scsi_transport_spi.ko*";
--
2.5.0