1 |
diff -up mkinitrd-5.1.19.6/mkinitrd.s390 mkinitrd-5.1.19.6/mkinitrd |
2 |
--- mkinitrd-5.1.19.6/mkinitrd.s390 2007-08-14 13:37:46.000000000 -0400 |
3 |
+++ mkinitrd-5.1.19.6/mkinitrd 2007-08-14 13:41:32.000000000 -0400 |
4 |
@@ -52,6 +52,7 @@ done |
5 |
|
6 |
CONFMODS="$MODULES" |
7 |
MODULES="" |
8 |
+ARCH="$(uname -m)" |
9 |
|
10 |
compress=1 |
11 |
allowmissing="" |
12 |
@@ -62,7 +63,7 @@ verbose="" |
13 |
img_vers="" |
14 |
builtins="" |
15 |
modulefile=/etc/modules.conf |
16 |
-withusb=1 |
17 |
+[ "$ARCH" == "s390x" -o "$ARCH" == "s390" ] && withusb=0 || withusb=1 |
18 |
[ "$MULTIPATH" == "no" ] && withmpath=0 || withmpath=1 |
19 |
[ "$DMRAID" == "no" ] && withdmraid=0 || withdmraid=1 |
20 |
rc=0 |