Fix bootstrap build broken by mlx4 support
Change-Id: I898ff43299a9d0a9a7f7e107a4a8bb1666bea4ca
This commit is contained in:
parent
f0107d0241
commit
9ccf7fda00
@ -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*' )
|
||||
|
1
bootstrap/sync/etc/modprobe.d/mlnx4_core.conf
Normal file
1
bootstrap/sync/etc/modprobe.d/mlnx4_core.conf
Normal file
@ -0,0 +1 @@
|
||||
options mlx4_core port_type_array=2,2
|
Loading…
Reference in New Issue
Block a user