summaryrefslogtreecommitdiffstats
path: root/pyanaconda/isys
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-11-02 10:42:56 -0400
committerChris Lumens <clumens@redhat.com>2010-11-02 10:42:56 -0400
commitd3180ef38db7d4cc2615ebadedfbb59d9fe984cd (patch)
tree2c834716c622cf671a0631ef098e5d25dbd754c8 /pyanaconda/isys
parent2839cf2771eb696d75030198eef17d87857d3d8b (diff)
downloadanaconda-d3180ef38db7d4cc2615ebadedfbb59d9fe984cd.tar.gz
anaconda-d3180ef38db7d4cc2615ebadedfbb59d9fe984cd.tar.xz
anaconda-d3180ef38db7d4cc2615ebadedfbb59d9fe984cd.zip
Support installation to CTC devices in loader (#648858, karsten).
Diffstat (limited to 'pyanaconda/isys')
-rw-r--r--pyanaconda/isys/devices.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyanaconda/isys/devices.c b/pyanaconda/isys/devices.c
index 9f22d9d56..5d509c32d 100644
--- a/pyanaconda/isys/devices.c
+++ b/pyanaconda/isys/devices.c
@@ -171,7 +171,8 @@ storagedone:
return NULL;
}
- if (type != 1)
+ /* S390 channel-to-channnel devices have type 256 */
+ if (type != 1 && !strncmp(ent->d_name, "ctc", 3) && type != 256)
continue;
new = calloc(1, sizeof(struct device));