summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kmcmarti@redhat.com>2013-09-17 10:30:52 -0400
committerKyle McMartin <kmcmarti@redhat.com>2013-09-17 10:33:59 -0400
commitcdb7903f6231232d5bb3356c3ff12bab882dbcc9 (patch)
treec122a2fb5d9d4b4bbdb2924f8d95895e56d4953d
parent9849507a33e19bfff474b085bee82e357f1de827 (diff)
downloadkernel-cdb7903f6231232d5bb3356c3ff12bab882dbcc9.tar.gz
kernel-cdb7903f6231232d5bb3356c3ff12bab882dbcc9.tar.xz
kernel-cdb7903f6231232d5bb3356c3ff12bab882dbcc9.zip
Add nvme.ko to modules.block for anaconda
-rw-r--r--kernel.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/kernel.spec b/kernel.spec
index 79b077aa1..da22ff09a 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1769,13 +1769,16 @@ BuildKernel() {
collect_modules_list()
{
sed -r -n -e "s/^([^ ]+) \\.?($2)\$/\\1/p" drivers.undef |
- LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
+ LC_ALL=C sort -u > $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
+ if [ ! -z "$3" ]; then
+ grep -v "$3" $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$1
+ fi
}
collect_modules_list networking \
'register_netdev|ieee80211_register_hw|usbnet_probe|phy_driver_register|rt(l_|2x00)(pci|usb)_probe|register_netdevice'
collect_modules_list block \
- 'ata_scsi_ioctl|scsi_add_host|scsi_add_host_with_dma|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler|blk_queue_physical_block_size'
+ 'ata_scsi_ioctl|scsi_add_host|scsi_add_host_with_dma|blk_alloc_queue|blk_init_queue|register_mtd_blktrans|scsi_esp_register|scsi_register_device_handler|blk_queue_physical_block_size' 'pktcdvd.ko|dm-mod.ko'
collect_modules_list drm \
'drm_open|drm_init'
collect_modules_list modesetting \
@@ -2299,6 +2302,9 @@ fi
# ||----w |
# || ||
%changelog
+* Tue Sep 17 2013 Kyle McMartin <kyle@redhat.com>
+- Add nvme.ko to modules.block for anaconda.
+
* Tue Sep 17 2013 Josh Boyer <jwboyer@fedoraproject.org> - 3.12.0-0.rc1.git0.1
- Linux v3.12-rc1
- Disable debugging options.