summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-10-07 03:15:08 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-10-07 03:15:08 +0000
commit3246202c72bfbcf2446a757f792ca3cfb44c341c (patch)
tree82a7d61c77de49595b39ca955c2ac232b6b29a81
parenta5ddb8cfc68c3ab305d98a84ea79846ddd391b96 (diff)
Notes
-rw-r--r--release/sysinstall/disks.c6
-rw-r--r--usr.sbin/sade/disks.c6
-rw-r--r--usr.sbin/sysinstall/disks.c6
3 files changed, 15 insertions, 3 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index 4d4703d77d15b..9703014ff290a 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);
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c
index 4d4703d77d15b..9703014ff290a 100644
--- a/usr.sbin/sade/disks.c
+++ b/usr.sbin/sade/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);
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c
index 4d4703d77d15b..9703014ff290a 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.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);