From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/rescan-scsi-bus/files: rescan-scsi-bus-1.25-support-sysfs-only-systems.patch digest-rescan-scsi-bus-1.25-r1 |
Date: | Tue, 15 Jan 2008 09:10:45 |
Message-Id: | E1JEhog-0004mc-RS@stork.gentoo.org |
1 | robbat2 08/01/15 09:10:42 |
2 | |
3 | Added: |
4 | rescan-scsi-bus-1.25-support-sysfs-only-systems.patch |
5 | digest-rescan-scsi-bus-1.25-r1 |
6 | Log: |
7 | Fix bug #190516 for newer kernels that do not enable CONFIG_SCSI_PROC_FS by default. It was just causing a misdetection. |
8 | (Portage version: 2.1.4) |
9 | |
10 | Revision Changes Path |
11 | 1.1 sys-apps/rescan-scsi-bus/files/rescan-scsi-bus-1.25-support-sysfs-only-systems.patch |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/rescan-scsi-bus/files/rescan-scsi-bus-1.25-support-sysfs-only-systems.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/rescan-scsi-bus/files/rescan-scsi-bus-1.25-support-sysfs-only-systems.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: rescan-scsi-bus-1.25-support-sysfs-only-systems.patch |
17 | =================================================================== |
18 | --- rescan-scsi-bus.sh.orig 2008-01-15 01:01:21.316547000 -0800 |
19 | +++ rescan-scsi-bus.sh 2008-01-15 01:02:02.704184735 -0800 |
20 | @@ -444,7 +444,10 @@ |
21 | echo $result |
22 | } |
23 | |
24 | -if test ! -d /proc/scsi/; then |
25 | +# /proc/scsi may not exist in new 2.6 kernels without CONFIG_SCSI_PROC_FS |
26 | +if test -d /proc/scsi/ || test -d /sys/bus/scsi/; then |
27 | + : |
28 | +else |
29 | echo "Error: SCSI subsystem not active" |
30 | exit 1 |
31 | fi |
32 | |
33 | |
34 | |
35 | 1.1 sys-apps/rescan-scsi-bus/files/digest-rescan-scsi-bus-1.25-r1 |
36 | |
37 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/rescan-scsi-bus/files/digest-rescan-scsi-bus-1.25-r1?rev=1.1&view=markup |
38 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/rescan-scsi-bus/files/digest-rescan-scsi-bus-1.25-r1?rev=1.1&content-type=text/plain |
39 | |
40 | Index: digest-rescan-scsi-bus-1.25-r1 |
41 | =================================================================== |
42 | MD5 f53c6fead50d380c78f79ba026cca81f rescan-scsi-bus.sh-1.25 14669 |
43 | RMD160 cbfc8f95272ae0005c6042a4ca55cd4276b01513 rescan-scsi-bus.sh-1.25 14669 |
44 | SHA256 a2e652323da19cb52d743aa04753c0411127fccbaf531b994c9bf10f42b388fa rescan-scsi-bus.sh-1.25 14669 |
45 | |
46 | |
47 | |
48 | -- |
49 | gentoo-commits@l.g.o mailing list |