/[baselayout]/branches/rc-scripts-1_6/sbin/MAKEDEV-gentoo.patch
Gentoo

Contents of /branches/rc-scripts-1_6/sbin/MAKEDEV-gentoo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1558 - (hide annotations) (download)
Fri Oct 7 02:00:38 2005 UTC (13 years, 2 months ago) by vapier
File size: 2097 byte(s)
merge MAKEDEV updates from trunk to branches to address #108250 and #108249
1 vapier 1558 --- MAKEDEV
2     +++ MAKEDEV
3     @@ -102,8 +102,8 @@
4    
5     if [ "$opt_V" ]
6     then
7     - echo "This is Debian MAKEDEV. For version info, try 'dpkg --list makedev'"
8     - echo "See /usr/share/doc/makedev/ for more information on Debian MAKEDEV."
9     + echo "This is MAKEDEV based on Debian's makedev_2.3.1-78."
10     + echo "See the MAKEDEV(8) manpage for more information."
11     exit 0
12     fi
13    
14     @@ -308,60 +308,26 @@
15     done
16     }
17    
18     +get_arch() {
19     + local a=`uname -m`
20     + case `uname -m` in
21     + arm*) echo arm;;
22     + i?86) echo i386;;
23     + ppc*) echo powerpc;;
24     + s390*) echo s390;;
25     + sh*) echo sh;;
26     + x86_64) echo i386;;
27     + # alpha|hppa|ia64|m68k|mips|sparc
28     + *) echo $a;;
29     + esac
30     +}
31     +
32     for arg in $*
33     do
34 azarah 334 # case `cvt $arg` in
35     case $arg in
36     generic)
37     - # pick the right generic-<arch> using dpkg's knowledge
38     - case `dpkg --print-installation-architecture` in
39     - alpha)
40     - $0 $opts generic-alpha
41     - ;;
42     - arm)
43     - $0 $opts generic-arm
44     - ;;
45     - hppa)
46     - $0 $opts generic-hppa
47     - ;;
48     - i386)
49     - $0 $opts generic-i386
50     - ;;
51 vapier 1558 - amd64)
52     - $0 $opts generic-i386
53     - ;;
54 azarah 334 - ia64)
55     - $0 $opts generic-ia64
56     - ;;
57     - m68k)
58     - $0 $opts generic-m68k
59     - ;;
60     - mips)
61     - $0 $opts generic-mips
62     - ;;
63     - mipsel)
64     - $0 $opts generic-mipsel
65     - ;;
66     - powerpc)
67     - $0 $opts generic-powerpc
68     - ;;
69 vapier 1558 - ppc64)
70     - $0 $opts generic-powerpc
71     - ;;
72 azarah 334 - s390)
73     - $0 $opts generic-s390
74     - ;;
75 vapier 1558 - sh*)
76     - $0 $opts generic-sh
77     - ;;
78 azarah 334 - sparc)
79     - $0 $opts generic-sparc
80     - ;;
81     - *)
82     - echo "$0: no support for generic on this arch" >&2
83     - exit 1
84     - ;;
85     - esac
86 vapier 1558 + $0 $opts generic-`get_arch`
87 azarah 334 ;;
88     generic-alpha)
89     $0 $opts std
90 vapier 1558 @@ -596,6 +562,10 @@
91     symlink mouse sunmouse
92     makedev openprom c 10 139 root root 0664
93 azarah 334 ;;
94 vapier 1558 + generic-*)
95     + echo "$0: no support for generic on this arch" >&2
96     + exit 1
97     + ;;
98     local)
99     $0.local $opts
100 azarah 334 ;;
101 vapier 1558 @@ -690,8 +660,7 @@
102 azarah 334 done
103     ;;
104     adb)
105     - # pick the right arch device using dpkg's knowledge
106     - case `dpkg --print-installation-architecture` in
107 vapier 1558 + case `get_arch` in
108 azarah 334 powerpc)
109     # ADB bus devices (char)
110     makedev adb c 56 0 $mouse

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20