/[smeserver]/rpms/mkinitrd/sme8/mkinitrd-use-firmware.patch
ViewVC logotype

Contents of /rpms/mkinitrd/sme8/mkinitrd-use-firmware.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Dec 20 18:36:32 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
No longer needed

1 diff -urNp mkinitrd-5.1.19.6_orig/mkinitrd mkinitrd-5.1.19.6/mkinitrd
2 --- mkinitrd-5.1.19.6_orig/mkinitrd 2007-06-02 12:11:19.000000000 -0400
3 +++ mkinitrd-5.1.19.6/mkinitrd 2007-06-02 12:15:46.000000000 -0400
4 @@ -1093,6 +1093,11 @@ for MODULE in $MODULES; do
5 else
6 cp $verbose -a $MODULE $MNTIMAGE/lib
7 fi
8 + for fw in $(/sbin/modinfo -F firmware $MODULE 2>/dev/null); do
9 + if [ -f /lib/firmware/$fw ]; then
10 + cp $verbose -a /lib/firmware/$fw $MNTIMAGE/lib/firmware/
11 + fi
12 + done
13 done
14
15 # mknod'ing the devices instead of copying them works both with and

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed