Getting closer to getting things right:
Always ignore the RAW_PART for BSD. Having no quirks is not a mistake for an architecture. Tested by: DES
This commit is contained in:
parent
8cbd99a1e8
commit
d52f4602e2
@ -286,9 +286,7 @@ Add_Chunk(struct disk *d, long offset, u_long size, const char *name,
|
||||
if (platform == p_sparc64) {
|
||||
offset = Prev_Cyl_Aligned(d, offset);
|
||||
size = Next_Cyl_Aligned(d, size);
|
||||
break;
|
||||
}
|
||||
if (platform == p_i386) {
|
||||
} else if (platform == p_i386) {
|
||||
if (type != freebsd)
|
||||
break;
|
||||
if (!(flags & CHUNK_ALIGN))
|
||||
@ -320,6 +318,7 @@ Add_Chunk(struct disk *d, long offset, u_long size, const char *name,
|
||||
/* Convert back to size */
|
||||
size -= offset;
|
||||
}
|
||||
break;
|
||||
|
||||
/* PLATFORM POLICY END ------------------------------------- */
|
||||
}
|
||||
|
@ -209,7 +209,7 @@ Int_Open_Disk(const char *name)
|
||||
if (Add_Chunk(d, 0, d->chunks->size, name, freebsd, 0, 0, "-"))
|
||||
DPRINT(("Failed to add 'freebsd' chunk"));
|
||||
}
|
||||
if (platform == p_i386 && !strcmp(t, "BSD") && i == 2)
|
||||
if (!strcmp(t, "BSD") && i == RAW_PART)
|
||||
continue;
|
||||
/* PLATFORM POLICY END --------------------------------------- */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user