1 |
slords |
1.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 |