4.3.6 cannot install on Solaris 12 due to script errors => Fixed in SVN
|Reported by:||James McPherson||Owned by:|
|Guest type:||all||Host type:||Solaris|
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
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.
Change History (7)
comment:2 by , 10 years ago
|Summary:||4.3.6 cannot install on Solaris 12 due to script errors → 4.3.6 cannot install on Solaris 12 due to script errors => Fixed in SVN|