[PATCH 1/3] Include modprobe file for Mellanox 10GB driver (#611997)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Include /etc/modprobe.d/libmlx4.conf from the libmlx4 package.
---
 scripts/mk-images    |    5 +++++
 scripts/upd-instroot |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index fb190ad..a4424c7 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -690,6 +690,11 @@ makeinitrd() {
     mkdir -p $MBD_DIR/usr/lib/locale
     localedef -c -i en_US -f UTF-8 --prefix $MBD_DIR en_US
 
+    if [ -f $IMGPATH/etc/modprobe.d/libmlx4.conf ]; then
+        install -m 644 $IMGPATH/etc/modprobe.d/libmlx4.conf \
+                       $MBD_DIR/etc/modprobe.d/libmlx4.conf
+    fi
+
     instbin $IMGPATH /usr/bin/mount $MBD_DIR /sbin/mount
     for mountcmd in $IMGPATH/usr/sbin/mount.* ; do
         cmd="$(basename $mountcmd)"
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 781c6df..41760cb 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -175,7 +175,7 @@ PACKAGES="GConf2 NetworkManager NetworkManager-gnome ORBit2 acl anaconda
     libXi libXinerama libXmu libXpm libXrandr libXrender libXt libXtst
     libXxf86misc libacl libaio libart_lgpl libattr libbdevid libbdevid-python
     libbonobo libcanberra libcanberra-gtk2 libcurl libfontenc libidn libgcc
-    libglade2 libgnomecanvas libgcrypt libgpg-error libjpeg libnl libogg
+    libglade2 libgnomecanvas libgcrypt libgpg-error libjpeg libmlx4 libnl libogg
     libpng libselinux libselinux-python libsemanage
     libsemanage-python libsepol libssh2 libstdc++ libtdb libthai libtirpc 
     libtool-ltdl libuser
@@ -382,6 +382,7 @@ etc/imrc
 etc/iscsid.conf
 etc/man.config
 etc/mke2fs.conf
+etc/modprobe.d/libmlx4.conf
 etc/netconfig
 etc/nsswitch.conf
 etc/pam.d/other
-- 
1.7.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux