[bde driver] black list linux_kernel_bde driver (#2284)
This driver should be loaded by sonic service. If kernel tries to load it, the driver would be loaded with default parameters, which is not right for sonic. Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This commit is contained in:
parent
64a2b1ce99
commit
873df9d8e8
@ -60,6 +60,7 @@ sudo cp $IMAGE_CONFIGS/environment/motd $FILESYSTEM_ROOT/etc/
|
||||
|
||||
# Create all needed directories
|
||||
sudo mkdir -p $FILESYSTEM_ROOT/etc/sonic/
|
||||
sudo mkdir -p $FILESYSTEM_ROOT/etc/modprobe.d/
|
||||
sudo mkdir -p $FILESYSTEM_ROOT/var/cache/sonic/
|
||||
sudo mkdir -p $FILESYSTEM_ROOT_USR_SHARE_SONIC_TEMPLATES/
|
||||
|
||||
@ -266,6 +267,9 @@ fi
|
||||
## copy platform rc.local
|
||||
sudo cp $IMAGE_CONFIGS/platform/rc.local $FILESYSTEM_ROOT/etc/
|
||||
|
||||
## copy blacklist file
|
||||
sudo cp $IMAGE_CONFIGS/platform/linux_kernel_bde.conf $FILESYSTEM_ROOT/etc/modprobe.d/
|
||||
|
||||
{% if installer_images.strip() -%}
|
||||
sudo chroot $FILESYSTEM_ROOT docker info
|
||||
{% for image in installer_images.strip().split(' ') -%}
|
||||
|
1
files/image_config/platform/linux_kernel_bde.conf
Normal file
1
files/image_config/platform/linux_kernel_bde.conf
Normal file
@ -0,0 +1 @@
|
||||
blacklist linux_kernel_bde
|
Loading…
Reference in New Issue
Block a user