Commit 3add3502 authored by Mike Hibler's avatar Mike Hibler

Yet another fix for FBSD 10.0.

parent 8de31238
......@@ -341,6 +341,11 @@ if ($usegeom && $slice != 0) {
$oarg = "-b $soffset";
}
}
# XXX it appears that in FBSD 10, even if the type is 0,
# we still need to force the location.
elsif ($FBSDVERS >= 10 && $soffset >= 0) {
$oarg = "-b $soffset";
}
mysystem("gpart add -i $slice -t freebsd $oarg $disk");
$stype = 165;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment