﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
12702,4.3.6 cannot install on Solaris 12 due to script errors => Fixed in SVN,James McPherson,,"I'm running Solaris 12 build 41. I was unable to install VirtualBox v4.3.6 because
there are three errors in the vboxconfig.sh script:

{{{
260c260
<                     BRANCH_VERSION=STR_KERN_MAJOR
---
>                     BRANCH_VERSION=$STR_KERN_MAJOR
262c262
<                     if test ""HOST_OS_MAJORVERSION"" = ""5.12""; then
---
>                     if test ""$HOST_OS_MAJORVERSION"" = ""5.12""; then
}}}

After pkgtrans'ing the pkg so I could hack on the vboxconfig.sh script, I was then able to
partially install the package, and determined that the line which translates STR_KERN_MAJOR
from the partial FMRI needs another element in its sed invocation

Adding   ;s/-.*//   allows

STR_KERN_MAJOR=`echo ""$PKGFMRI"" | sed 's/^.*\@//;s/\,.*//;s/-.*//'`

which then allows correct installation to occur (modulo the vboxconfig.sh checksum and
filesize not matching the pkg prototype.



Marking as 'major' because this defect completely prevents installation on Solaris 12.",defect,closed,installer,VirtualBox 4.3.6,fixed,,,all,Solaris
