summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2016-12-18 13:13:56 +0100
committerLudovic Pouzenc <ludovic@pouzenc.fr>2016-12-18 13:13:56 +0100
commit5d0ac784cd35e72302ce50d5fde6d113940fbe07 (patch)
treeabd5493cef02857f5880d38352ce9531e313f8d3
parenta289cdd0add2ef3702c7be7c0ce0fdff32720b2d (diff)
downloadeficast-5d0ac784cd35e72302ce50d5fde6d113940fbe07.tar.gz
eficast-5d0ac784cd35e72302ce50d5fde6d113940fbe07.tar.bz2
eficast-5d0ac784cd35e72302ce50d5fde6d113940fbe07.zip
make-boot-image : add some RAID support
-rwxr-xr-xmake-boot-image.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/make-boot-image.sh b/make-boot-image.sh
index 2f20fc0..aab28f5 100755
--- a/make-boot-image.sh
+++ b/make-boot-image.sh
@@ -140,7 +140,11 @@ while more_work and i < 10:
more_work = sset(sym, '../initrd/') or more_work
if name in ['EFI_STUB', 'EFI_VARS', 'DELL_RBU', 'USB_XHCI_HCD', 'IKCONFIG']:
- # Make kernel directly loadable by EFI, add USB3, Dell flash...
+ # Make kernel directly loadable by EFI, add USB3, Dell flash
+ more_work = sset(sym) or more_work
+
+ if name in ['DM_RAID', 'SCSI_LOWLEVEL', 'MEGARAID_SAS', 'MEGARAID_NEWGEN']:
+ # Support soft RAID (linux) and hard RAID (some cards)
more_work = sset(sym) or more_work
if debug and name in ['VIRTIO_PCI', 'VIRTIO_MMIO', 'VIRTIO_NET', 'VIRTIO_BLK', 'SCSI_LOWLEVEL', 'SCSI_VIRTIO']: