Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Include modprobe file for Mellanox 10GB driver (#611997) (http://www.linux-archive.org/debian-user/404896-include-modprobe-file-mellanox-10gb-driver-611997-a.html)

David Cantrell 07-27-2010 07:52 PM

Include modprobe file for Mellanox 10GB driver (#611997)
 
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 06:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.