Hello all,

Earlier this month I posted to the VirtualBox lists my patch for vboxconfig.sh to better support
installation on non-Sun/Oracle Solaris-like hosts, tested on OI (Hipster) and OmniOS (bloody).
It may support SXCE as well (has the code, but was not practically tested lately) since there are
aspects where SXCE was like Solaris 10 (SVR4 packaging) and yet more advanced than that
(CrossBow, etc.).

Unfortunately, so far the post fell through the cracks... so for possible integration into packages
provided by the illumos distributions (e.g. to help the work done by Thomas Gouverneur to turn
SVR releases into IPS, or to support proper GPL-source builds of VirtualBox), I'd like to repost
these fixes here too. Feel free to build on them, to make VB updates hiccup-less ;)

In my practice, it sufficed to "pkgtrans" the Oracle VB package into a directory, patch the script
"vboxconfig.sh" provided in the installation image, update the "pkgmap" with new values for
size and checksum of the changed file, (run "pkgrm" to remove an obsoleted installation) and
"pkgadd" to install the package from the directory.

---

The reposted part:

http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/7390
Date: 2015-03-09 15:09:25 GMT

Hello all,

I submit a patch which should simplify installation of modern VirtualBox on some
non-Oracle derivate distributions of Solaris which are known to host VirtualBox
just fine. Most of the patch deals with "proper" detection of major and minor OS
version numbers on those distributions. Also there is now a touchable filename
to enforce installation of USB filters and corresponding UNIX group accounts,
as a workaround for further distros not detected as supported by even new code.

I submit this patch under the terms of MIT license.

This was last tested with VirtualBox 4.3.24 and OpenIndiana Hipster and OmniOS
Bloody, all updated today to the most current states available.

Note this was not yet tested in practice with SXCE although snippets were developed
that should work there. I don't expect there are many of those installations left beside my
closet, but those are all pleased with old VBox versions for now... ain't broke, you know ;)

Hope this helps,
// Jim Klimov


Attachment: vboxconfig.sh.patch
Description: Binary data

_______________________________________________
OmniOS-discuss mailing list
[email protected]
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to