Add installer support for CHRP/PAPR PowerPC systems that use MBR+BSD
formatting, like x86, but with an additional MBR slice containing a raw boot partition. Approved by: re (gjb)
This commit is contained in:
parent
c58e1e485c
commit
8d795806e9
@ -954,7 +954,8 @@ addpartform:
|
||||
}
|
||||
|
||||
/* If there isn't one, and we need one, ask */
|
||||
if (strcmp(items[2].text, "/") == 0 && bootpart_size(scheme) > 0 &&
|
||||
if ((strcmp(items[0].text, "freebsd") == 0 ||
|
||||
strcmp(items[2].text, "/") == 0) && bootpart_size(scheme) > 0 &&
|
||||
pp == NULL) {
|
||||
if (interactive)
|
||||
choice = dialog_yesno("Boot Partition",
|
||||
|
@ -59,7 +59,8 @@ is_scheme_bootable(const char *part_type) {
|
||||
return (1);
|
||||
if (strcmp(platform, "ps3") == 0 && strcmp(part_type, "GPT") == 0)
|
||||
return (1);
|
||||
if (strcmp(platform, "chrp") == 0 && strcmp(part_type, "MBR") == 0)
|
||||
if (strcmp(platform, "chrp") == 0 &&
|
||||
(strcmp(part_type, "MBR") == 0 || strcmp(part_type, "BSD") == 0))
|
||||
return (1);
|
||||
|
||||
return (0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user