diff options
author | jkh <jkh@FreeBSD.org> | 1999-01-08 00:14:22 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-01-08 00:14:22 +0000 |
commit | 2bd023c3bcc58af13caf3dfc72e45544f76e02d0 (patch) | |
tree | f8a602b8dd3f42b31523719e6c5aaaee797d4519 /usr.sbin/sade/disks.c | |
parent | 7462f8a7118968fca8bdcc1837bc3c5aaeea040c (diff) | |
download | FreeBSD-src-2bd023c3bcc58af13caf3dfc72e45544f76e02d0.zip FreeBSD-src-2bd023c3bcc58af13caf3dfc72e45544f76e02d0.tar.gz |
Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc).
Submitted by: dfr
Diffstat (limited to 'usr.sbin/sade/disks.c')
-rw-r--r-- | usr.sbin/sade/disks.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index dbf3040..6c6b501 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.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)) { |