summaryrefslogtreecommitdiffstats
path: root/release/sysinstall
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-10-07 03:15:08 +0000
committerjkh <jkh@FreeBSD.org>1998-10-07 03:15:08 +0000
commitdbf054fd70ec42dc52eb598fbff72897407a6873 (patch)
tree3312a6f81b7ff2e5b662a6c7fb9f0e563fe749c3 /release/sysinstall
parent0b40982436037a24f942f99199bf83b9d79e8104 (diff)
downloadFreeBSD-src-dbf054fd70ec42dc52eb598fbff72897407a6873.zip
FreeBSD-src-dbf054fd70ec42dc52eb598fbff72897407a6873.tar.gz
Don't use boot2 on alpha.
Diffstat (limited to 'release/sysinstall')
-rw-r--r--release/sysinstall/disks.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index 4d4703d..9703014 100644
--- a/release/sysinstall/disks.c
+++ b/release/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.102 1998/09/30 21:55:33 jkh Exp $
+ * $Id: disks.c,v 1.103 1998/09/30 21:58:36 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -643,7 +643,11 @@ diskPartitionWrite(dialogMenuItem *self)
if (!devs[i]->enabled)
continue;
+#ifdef __alpha__
+ Set_Boot_Blocks(d, boot1, NULL);
+#else
Set_Boot_Blocks(d, boot1, boot2);
+#endif
msgNotify("Writing partition information to drive %s", d->name);
if (!Fake && Write_Disk(d)) {
msgConfirm("ERROR: Unable to write data to disk %s!", d->name);
OpenPOWER on IntegriCloud