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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1576 Revision 1577
9+ echo "This is MAKEDEV based on Debian's makedev_2.3.1-78." 9+ echo "This is MAKEDEV based on Debian's makedev_2.3.1-78."
10+ echo "See the MAKEDEV(8) manpage for more information." 10+ echo "See the MAKEDEV(8) manpage for more information."
11 exit 0 11 exit 0
12 fi 12 fi
13 13
14@@ -308,60 +308,26 @@ 14@@ -308,60 +308,25 @@
15 done 15 done
16 } 16 }
17 17
18+get_arch() { 18+get_arch() {
19+ local a=`uname -m`
20+ case `uname -m` in 19+ case `uname -m` in
21+ arm*) echo arm;; 20+ arm*) echo arm;;
22+ i?86) echo i386;; 21+ i?86) echo i386;;
23+ ppc*) echo powerpc;; 22+ ppc*) echo powerpc;;
24+ s390*) echo s390;; 23+ s390*) echo s390;;

Legend:
Removed from v.1576  
changed lines
  Added in v.1577

  ViewVC Help
Powered by ViewVC 1.1.20