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

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



Ack.

On Tue, 2010-07-27 at 09:52 -1000, David Cantrell wrote:
> 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



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