`<p><font face="'PrimaSans BT,Verdana,sans-serif'">Hello all,</font></p><p><font face="'PrimaSans BT,Verdana,sans-serif'">Earlier in March I posted a patch that fixes installation of VirtualBox on non-Oracle Solaris hosts (e.g. OpenIndiana and OmniOS). Lest it be lost in the list archives, I moved the patch (now licensed as GPLv2 to match VirtualBox licensing) and an accompanying README to GitHub: <a href="https://github.com/jimklimov/vboxconfig_sh" target="1"><font color="#3a2eb5">https://github.com/jimklimov/vboxconfig_sh</font></a></font></p><p><font face="'PrimaSans BT,Verdana,sans-serif'">Feel free to add the changes into the distributions (if you maintain packages/repositories), so such hackery won't be needed ;)</font></p><p><font face="'PrimaSans BT,Verdana,sans-serif'">Thanks, <br>Jim Klimov</font></p><font face="'PrimaSans BT,Verdana,sans-serif'"></font><p></p><br><br>----- Исходное сообщение -----<br>От: Jim Klimov <jim@cos.ru><br>Дата: Monday, March 16, 2015 9:30<br>Тема: [OmniOS-discuss] Fix to VirtualBox installer under OI/OmniOS<br>Кому (To): openindiana-discuss@openindiana.org, omnios-discuss <omnios-discuss@lists.omniti.com><br>Копия (Cc): thomas@espix.net<br><br><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>Hello all,</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>Earlier this month I posted to the VirtualBox lists my patch for vboxconfig.sh to better support <br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>installation on non-Sun/Oracle Solaris-like hosts, tested on OI (Hipster) and OmniOS (bloody). <br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>It may support SXCE as well (has the code, but was not practically tested lately) since there are <br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>aspects where SXCE was like Solaris 10 (SVR4 packaging) and yet more advanced than that <br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>(CrossBow, etc.).</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>Unfortunately, so far the post fell through the cracks... so for possible integration into packages<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>provided by the illumos distributions (e.g. to help the work done by Thomas Gouverneur to turn<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>SVR releases into IPS, or to support proper GPL-source builds of VirtualBox), I'd like to repost <br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>these fixes here too. Feel free to build on them, to make VB updates hiccup-less ;)</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>In my practice, it sufficed to "pkgtrans" the Oracle VB package into a directory, patch the script<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>"vboxconfig.sh" provided in the installation image, update the "pkgmap" with new values for <br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>size and checksum of the changed file, (run "pkgrm" to remove an obsoleted installation) and <br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>"pkgadd" to install the package from the directory.<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font><br></p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>---</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>The reposted part:</p><p><a href="http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/7390" target="1"><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/7390</a><br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>Date: 2015-03-09 15:09:25 GMT</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>Hello all,</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>I submit a patch which should simplify installation of modern VirtualBox on some<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>non-Oracle derivate distributions of Solaris which are known to host VirtualBox <br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>just fine. Most of the patch deals with "proper" detection of major and minor OS<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>version numbers on those distributions. Also there is now a touchable filename<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>to enforce installation of USB filters and corresponding UNIX group accounts,<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>as a workaround for further distros not detected as supported by even new code.</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>I submit this patch under the terms of MIT license.</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>This was last tested with VirtualBox 4.3.24 and OpenIndiana Hipster and OmniOS<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>Bloody, all updated today to the most current states available.</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>Note this was not yet tested in practice with SXCE although snippets were developed<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>that should work there. I don't expect there are many of those installations left beside my <br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>closet, but those are all pleased with old VBox versions for now... ain't broke, you know ;)<br></p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>Hope this helps,<br><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font>// Jim Klimov</p><p><font style="font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(245, 248, 240);">> </font><br></p> > _______________________________________________<br>> OmniOS-discuss mailing list<br>> OmniOS-discuss@lists.omniti.com<br>> http://lists.omniti.com/mailman/listinfo/omnios-discuss<br><br>-- <br><br>+============================================================+<br>| |<br>| Климов Евгений, Jim Klimov |<br>| технический директор CTO |<br>| ЗАО "ЦОС и ВТ" JSC COS&HT |<br>| |<br>| +7-903-7705859 (cellular) mailto:jimklimov@cos.ru |<br>| CC:admin@cos.ru,jimklimov@gmail.com |<br>+============================================================+<br>| () ascii ribbon campaign - against html mail |<br>| /\ - against microsoft attachments |<br>+============================================================+ <br><br><br>
`