Closed bahamas10 closed 4 years ago
yeah but we're currently shipping on real SunOS including Solaris 10 and Solaris 11, is this going to break Solaris 10?
Just ran into this problem myself. Any plans on merging this in?
@lamont-granquist Is there an official maintainer of this gem?
This looks like a hack to lie that all of SunOS is Linux which I have to assume will make SmartOS work but will break our Solaris builds.
If I'm correct in that assumption, then I can't allow this to go in, no matter how much it helps SmartOS users.
If I'm incorrect, then I need to get an explanation (ideally in a comment in the code so its documented for posterity) of why this fixes SmartOS without breaking Solaris.
I haven't touched this code in years (I have a compiled version of Chef I manually just ship around for my own setup). I agree though that this is a hack, and will probably break Solaris while working for SmartOS.
I won't really have the time to fully investigate this as much as I should to keep this PR opened/maintained, so please feel free to close this. Apologies to anyone in the SmartOS community that wants this. I am happy to test any changes that others in the community may have wrt SmartOS though.
Closing this based on the comment from @bahamas10. If someone wants to pick this up in a way that fixes SmartOS while retaining support for Solaris that'd be great.
if you look at https://github.com/chef/dep-selector-libgecode/issues/34#issuecomment-67898575, you can see that a lot of lying about the underlying operating system is already taking place... this just adds
SunOS
to that list of lies.With this I'm able to compile on SmartOS, which is the first step in getting omnibus-chef to work.