summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-05-07 19:15:56 +0000
committerjhb <jhb@FreeBSD.org>2004-05-07 19:15:56 +0000
commit7664209e3adac46ddbead377ffb11ae0b6185f7e (patch)
treee5cf2ae718a04a5c2896ee24ee95ec7892874471 /usr.sbin/sade
parent2a0970f8cee42d30d717b86a6835ff6573992364 (diff)
downloadFreeBSD-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')
-rw-r--r--usr.sbin/sade/config.c3
-rw-r--r--usr.sbin/sade/install.c6
2 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index 2e205e1..d055933 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -212,7 +212,8 @@ configFstab(dialogMenuItem *self)
chunk_list[nchunks++] = c2;
}
}
- else if ((c1->type == fat || c1->type == efi) && c1->private_data)
+ else if (((c1->type == fat || c1->type == efi || c1->type == part) &&
+ c1->private_data) || (c1->type == part && c1->subtype == FS_SWAP))
chunk_list[nchunks++] = c1;
}
}
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;
OpenPOWER on IntegriCloud