Fix bootstrap build broken by mlx4 support

Change-Id: I898ff43299a9d0a9a7f7e107a4a8bb1666bea4ca
This commit is contained in:
Dmitry Pyzhov 2014-07-18 14:38:52 +04:00
parent f0107d0241
commit 9ccf7fda00
2 changed files with 1 additions and 3 deletions

View File

@ -170,9 +170,6 @@ $(BUILD_DIR)/bootstrap/prepare-initram-root.done: \
-sudo chroot $(INITRAMROOT) chkconfig exim off
-sudo chroot $(INITRAMROOT) chkconfig postfix off
# Setting mlx4_core to eth mode
sudo echo "options mlx4_core port_type_array=2,2" > $(INITRAMROOT)/etc/modprobe.d/mlx4_core.conf
# Installing kernel modules
find $(LOCAL_MIRROR_CENTOS_OS_BASEURL) -name '$(KERNEL_PATTERN)' | xargs rpm2cpio | \
( cd $(INITRAMROOT); sudo cpio -idm './lib/modules/*' './boot/vmlinuz*' )

View File

@ -0,0 +1 @@
options mlx4_core port_type_array=2,2