Add bnxt_en to initramfs

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:59 -04:00
parent cc545fba44
commit 6156cd305a
2 changed files with 6 additions and 0 deletions

View File

@ -176,6 +176,11 @@ mkdir -p config/includes.chroot/etc/modprobe.d
cp ../../templates/blacklist.conf config/includes.chroot/etc/modprobe.d/blacklist.conf || fail "Failed to copy critical template file"
echo "done."
# Install module initramfs requirements (Broadcom NICs)
echo -n "Copying initramfs modules template... "
cp ../../templates/modules config/includes.chroot/etc/initramfs-tools/modules || fail "Failed to copy critical template file"
echo "done."
# Install install.sh script
echo -n "Copying PVC node installer script template... "
cp ../../templates/install.sh config/includes.chroot/install.sh || fail "Failed to copy critical template file"

1
templates/modules Normal file
View File

@ -0,0 +1 @@
bnxt_en