summaryrefslogtreecommitdiffstats
path: root/loader2/kickstart.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-07-09 21:45:40 +0000
committerJeremy Katz <katzj@redhat.com>2004-07-09 21:45:40 +0000
commit2bb09b7d284d82a54cd46b5bda5c3541a0891ce7 (patch)
tree1715880b28483108593674999df9c46cb204ad8a /loader2/kickstart.c
parent02d56153af18491f1b964ffb506f7ad09662d030 (diff)
downloadanaconda-2bb09b7d284d82a54cd46b5bda5c3541a0891ce7.tar.gz
anaconda-2bb09b7d284d82a54cd46b5bda5c3541a0891ce7.tar.xz
anaconda-2bb09b7d284d82a54cd46b5bda5c3541a0891ce7.zip
add patch from Rezwanul_Kabir (AT dell DOT com) to add support for using
the edd module's export of mbr signatures to map BIOS disks to Linux disk names. exposed for use in kickstart with part --onbiosdisk=, ks=bd:80p1:/ks.cfg, and harddrive --biospart=80p1 Patch from anaconda-devel-list, #106674
Diffstat (limited to 'loader2/kickstart.c')
-rw-r--r--loader2/kickstart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/loader2/kickstart.c b/loader2/kickstart.c
index 20dc733d6..1d3d3b81e 100644
--- a/loader2/kickstart.c
+++ b/loader2/kickstart.c
@@ -330,6 +330,10 @@ void getKickstartFile(struct loaderData_s * loaderData, int * flagsPtr) {
if (kickstartFromHD(c, *flagsPtr))
return;
loaderData->ksFile = strdup("/tmp/ks.cfg");
+ } else if (!strncmp(c, "ks=bd:", 6)) {
+ if (kickstartFromBD(c, *flagsPtr))
+ return;
+ loaderData->ksFile = strdup("/tmp/ks.cfg");
} else if (!strncmp(c, "ks=cdrom", 8)) {
if (kickstartFromCD(c, *flagsPtr))
return;