From 3add35028354d1e4f13d3a33ad61f764e7a35f59 Mon Sep 17 00:00:00 2001 From: Mike Hibler Date: Mon, 2 Jun 2014 15:15:55 -0600 Subject: [PATCH] Yet another fix for FBSD 10.0. --- clientside/tmcc/freebsd/mkextrafs.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clientside/tmcc/freebsd/mkextrafs.pl b/clientside/tmcc/freebsd/mkextrafs.pl index 46cb1141b..f43385ed4 100755 --- a/clientside/tmcc/freebsd/mkextrafs.pl +++ b/clientside/tmcc/freebsd/mkextrafs.pl @@ -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; } -- GitLab