diff options
author | jhb <jhb@FreeBSD.org> | 2004-05-07 19:15:56 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-05-07 19:15:56 +0000 |
commit | 7664209e3adac46ddbead377ffb11ae0b6185f7e (patch) | |
tree | e5cf2ae718a04a5c2896ee24ee95ec7892874471 /usr.sbin/sade/install.c | |
parent | 2a0970f8cee42d30d717b86a6835ff6573992364 (diff) | |
download | FreeBSD-src-7664209e3adac46ddbead377ffb11ae0b6185f7e.zip FreeBSD-src-7664209e3adac46ddbead377ffb11ae0b6185f7e.tar.gz |
Minor fixes for ia64 installs:
- Don't look for partitions inside a FreeBSD chunk on ia64 when mounting
the filesystems just before the chroot and install.
- Write entries out to /etc/fstab for filesystems that aren't inside a
FreeBSD chunk, but are a top-level chunk under the disk.
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r-- | usr.sbin/sade/install.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 3d26689..a45c3bf 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -1036,8 +1036,14 @@ installFilesystems(dialogMenuItem *self) return DITEM_FAILURE | DITEM_RESTORE; } for (c1 = disk->chunks->part; c1; c1 = c1->next) { +#ifndef __ia64__ if (c1->type == freebsd) { for (c2 = c1->part; c2; c2 = c2->next) { +#else + if (c1->type == part) { + c2 = c1; + { +#endif if (c2->type == part && c2->subtype != FS_SWAP && c2->private_data) { PartInfo *tmp = (PartInfo *)c2->private_data; |