diff options
author | 2005-09-04 08:52:34 +0000 | |
---|---|---|
committer | 2005-09-04 08:52:34 +0000 | |
commit | 7f9fc00302a26310d125e39aab9ea9160665cc74 (patch) | |
tree | 0d56798c8fc6e457f1bb86da6026792509345c62 /sbin | |
parent | add back help text (diff) | |
download | baselayout-vserver-7f9fc00302a26310d125e39aab9ea9160665cc74.tar.gz baselayout-vserver-7f9fc00302a26310d125e39aab9ea9160665cc74.tar.bz2 baselayout-vserver-7f9fc00302a26310d125e39aab9ea9160665cc74.zip |
remove obsolete patch
svn path=/baselayout-vserver/trunk/; revision=29
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/MAKEDEV-gentoo.patch | 210 |
1 files changed, 0 insertions, 210 deletions
diff --git a/sbin/MAKEDEV-gentoo.patch b/sbin/MAKEDEV-gentoo.patch deleted file mode 100755 index 14e5edf..0000000 --- a/sbin/MAKEDEV-gentoo.patch +++ /dev/null @@ -1,210 +0,0 @@ ---- MAKEDEV.orig 2003-03-09 08:12:11.000000000 +0200 -+++ MAKEDEV 2003-03-09 08:26:25.000000000 +0200 -@@ -260,48 +260,65 @@ - # case `cvt $arg` in - case $arg in - generic) -- # pick the right generic-<arch> using dpkg's knowledge -- case `dpkg --print-installation-architecture` in -- alpha) -- $0 $opts generic-alpha -- ;; -- arm) -- $0 $opts generic-arm -- ;; -- hppa) -- $0 $opts generic-hppa -- ;; -- i386) -- $0 $opts generic-i386 -- ;; -- ia64) -- $0 $opts generic-ia64 -- ;; -- m68k) -- $0 $opts generic-m68k -- ;; -- mips) -- $0 $opts generic-mips -- ;; -- mipsel) -- $0 $opts generic-mipsel -- ;; -- powerpc) -- $0 $opts generic-powerpc -- ;; -- s390) -- $0 $opts generic-s390 -- ;; -- sparc) -- $0 $opts generic-sparc -- ;; -- *) -- echo "$0: no support for generic on this arch" >&2 -- exit 1 -- ;; -- esac -+ if [ -n "`which dpkg 2> /dev/null`" ] -+ then -+ # pick the right generic-<arch> using dpkg's knowledge -+ case `dpkg --print-installation-architecture` in -+ alpha) -+ $0 $opts generic-alpha -+ ;; -+ arm) -+ $0 $opts generic-arm -+ ;; -+ hppa) -+ $0 $opts generic-hppa -+ ;; -+ i386) -+ $0 $opts generic-i386 -+ ;; -+ ia64) -+ $0 $opts generic-ia64 -+ ;; -+ m68k) -+ $0 $opts generic-m68k -+ ;; -+ mips) -+ $0 $opts generic-mips -+ ;; -+ mipsel) -+ $0 $opts generic-mipsel -+ ;; -+ powerpc) -+ $0 $opts generic-powerpc -+ ;; -+ s390) -+ $0 $opts generic-s390 -+ ;; -+ sparc) -+ $0 $opts generic-sparc -+ ;; -+ *) -+ echo "$0: no support for generic on this arch" >&2 -+ exit 1 -+ ;; -+ esac -+ else -+ $0 $opts std -+ $0 $opts fd -+ $0 $opts fd0 fd1 -+ $0 $opts hda hdb -+ $0 $opts xda xdb -+ $0 $opts sda sdb -+ $0 $opts pty -+ $0 $opts console -+ $0 $opts ttyS0 ttyS1 ttyS2 ttyS3 -+ $0 $opts busmice -+ $0 $opts lp -+ $0 $opts par -+ fi - ;; - generic-alpha) -+ export MDARCH="alpha" - $0 $opts std - $0 $opts fd - $0 $opts fd0 fd1 -@@ -321,6 +338,7 @@ - $0 $opts fb - ;; - generic-arm) -+ export MDARCH="arm" - $0 $opts std - $0 $opts fd - $0 $opts fd0 fd1 -@@ -340,6 +358,7 @@ - $0 $opts fb - ;; - generic-hppa) -+ export MDARCH="hppa" - $0 $opts std - $0 $opts fd - $0 $opts fd0 fd1 -@@ -358,6 +377,7 @@ - $0 $opts rtc - ;; - generic-i386) -+ export MDARCH="i386" - $0 $opts std - $0 $opts fd - $0 $opts fd0 fd1 -@@ -380,6 +400,7 @@ - $0 $opts lmscd sbpcd aztcd bpcd dac960 ida ataraid cciss - ;; - generic-ia64) -+ export MDARCH="ia64" - $0 $opts std - $0 $opts fd - $0 $opts fd0 fd1 -@@ -400,6 +421,7 @@ - $0 $opts efirtc - ;; - generic-m68k) -+ export MDARCH="m68k" - $0 $opts std - $0 $opts fd - $0 $opts fd0 fd1 -@@ -418,6 +440,7 @@ - $0 $opts fb - ;; - generic-mips) -+ export MDARCH="mips" - $0 $opts std - $0 $opts fd - $0 $opts fd0 fd1 -@@ -436,6 +459,7 @@ - $0 $opts busmice - ;; - generic-mipsel) -+ export MDARCH="mipsel" - $0 $opts std - $0 $opts fd - $0 $opts fd0 fd1 -@@ -454,6 +478,7 @@ - $0 $opts rtc - ;; - generic-powerpc) -+ export MDARCH="powerpc" - $0 $opts std - $0 $opts fd - $0 $opts fd0 fd1 -@@ -478,6 +503,7 @@ - $0 $opts isdn-io - ;; - generic-s390) -+ export MDARCH="s390" - $0 $opts std - $0 $opts fd - $0 $opts dasda dasdb dasdc dasdd dasde dasdf dasdg dasdh \ -@@ -489,6 +515,7 @@ - $0 $opts rtc - ;; - generic-sparc) -+ export MDARCH="sparc" - $0 $opts std - $0 $opts fd0-bare fd1-bare - $0 $opts hda hdb hdc hdd -@@ -601,8 +628,19 @@ - done - ;; - adb) -- # pick the right arch device using dpkg's knowledge -- case `dpkg --print-installation-architecture` in -+ myarch= -+ -+ if [ -n "`which dpkg 2> /dev/null`" ] -+ then -+ # pick the right arch device using dpkg's knowledge -+ myarch="`dpkg --print-installation-architecture`" -+ -+ elif [ -n "${MDARCH}" ] -+ then -+ myarch="${MDARCH}" -+ fi -+ -+ case $myarch in - powerpc) - # ADB bus devices (char) - makedev adb c 56 0 $mouse |