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

Annotation of /rpms/mkinitrd/sme8/mkinitrd-use-modinfo.patch

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


Revision 1.2 - (hide 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 slords 1.1 ---
2    
3     mkinitrd-5.1.19.6-kei/mkinitrd | 6 +++++-
4     1 file changed, 5 insertions(+), 1 deletion(-)
5    
6     diff -puN mkinitrd~dup3 mkinitrd
7     --- mkinitrd-5.1.19.6/mkinitrd~dup3 2007-03-13 17:11:51.000000000 -0400
8     +++ mkinitrd-5.1.19.6-kei/mkinitrd 2007-03-13 17:12:03.000000000 -0400
9     @@ -213,6 +213,10 @@ findmodule() {
10     done
11    
12     for modExt in o.gz o ko ; do
13     + fmPath=$(/sbin/modinfo -F filename -k $kernel $modName 2> /dev/null)
14     + if [ -f "$fmPath" ]; then
15     + break
16     + fi
17     for modDir in /lib/modules/$kernel/updates /lib/modules/$kernel ; do
18     if [ -d $modDir ]; then
19     fmPath=$(findone $modDir -name $modName.$modExt)
20     @@ -223,7 +227,7 @@ findmodule() {
21     done
22     done
23    
24     - if [ ! -f $fmPath ]; then
25     + if [ ! -f "$fmPath" ]; then
26     if [ -n "$skiperrors" ]; then
27     return
28     fi
29    
30     _

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