summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2023-10-14 10:04:28 +0300
committernl6720 <nl6720@gmail.com>2023-10-22 09:35:19 +0300
commit47d6c2561df6ab9334313a6fe8c0563fb819d7f7 (patch)
tree4a2b8710510514609590b3f562059b1b34c84802
parentdfc30b91ea5d29c183bc5a1cfd5cadf297728253 (diff)
install/block: update unconditionally included module list
* Remove sr_mod since optical disc drives are not very common anymore. * FireWire is dead, so there is no need to always include firewire-sbp2. * Add uas since the initramfs could be generated while a drive is connected to a controller that does not support UASP, but later used on one that does. * Add virtio_scsi so that both virtio based block device modules are included. * Add ahci and nvme, nearly every hardware made in the past 5 years has one or both. This only changes the unconditionally included modules when using the autodetect hook. If any of the mentioned modules are in use when generating the initramfs, whey will be included.
-rw-r--r--install/block2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/block b/install/block
index 1cc097b..d6583a3 100644
--- a/install/block
+++ b/install/block
@@ -4,7 +4,7 @@
build() {
local filter
- map add_module sd_mod? sr_mod? usb_storage? mmc_block? firewire-sbp2? virtio_blk?
+ map add_module ahci? sd_mod? usb_storage? uas? mmc_block? nvme? virtio_scsi? virtio_blk?
# pata, sata, scsi, nvme
for filter in 'scsi/.*ata' '/(block|scsi|fusion|nvme)/' 'ata/[ps]ata_' \