aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/disks.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1999-01-08 00:14:22 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1999-01-08 00:14:22 +0000
commitaf61828f4482c09573b57bcdfea51a17a355477c (patch)
treee5ef7594ea3b1af27ec00cf3c59363e6c9367fa6 /usr.sbin/sysinstall/disks.c
parent7306cb58a893b61bf1585931306c10ec8c0cdaa3 (diff)
downloadsrc-af61828f4482c09573b57bcdfea51a17a355477c.tar.gz
src-af61828f4482c09573b57bcdfea51a17a355477c.zip
Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc). Submitted by: dfr
Notes
Notes: svn path=/head/; revision=42386
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r--usr.sbin/sysinstall/disks.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c
index dbf3040e4b0a..6c6b5019a9c7 100644
--- a/usr.sbin/sysinstall/disks.c
+++ b/usr.sbin/sysinstall/disks.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: disks.c,v 1.106 1998/10/13 09:49:16 jkh Exp $
+ * $Id: disks.c,v 1.107 1999/01/02 07:23:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -673,14 +673,21 @@ diskPartitionWrite(dialogMenuItem *self)
Chunk *c1;
Disk *d = (Disk *)devs[i]->private;
static u_char *boot1;
+#ifndef __alpha__
static u_char *boot2;
+#endif
if (!devs[i]->enabled)
continue;
+#ifdef __alpha__
+ if (!boot1) boot1 = bootalloc("boot1");
+ Set_Boot_Blocks(d, boot1, NULL);
+#else
if (!boot1) boot1 = bootalloc("boot1");
if (!boot2) boot2 = bootalloc("boot2");
Set_Boot_Blocks(d, boot1, boot2);
+#endif
msgNotify("Writing partition information to drive %s", d->name);
if (!Fake && Write_Disk(d)) {