* Jim Walker <[email protected]> [2009-05-14 19:11]: > Danek Duvall wrote: >> There's no interface we've specifically made available for this, and I'm >> not sure what to suggest that won't change. >> >> Not knowing the architecture of what you're trying to do, my suggestion >> would be to simply install different bits on OpenSolaris than on Nevada, >> which should be easy enough since you'll be installing different packages. >> But maybe it's not that straightforward for some reason? > > It's not a big deal. Like I said, if beadm is there I can assume it's > opensolaris and not nevada. I was just wondering if there was anything > better to use or an os id code somewhere in memory.
Generally, test for /var/pkg being a directory. When this is true for NV, the two OSes should be identical. - Stephen -- [email protected] http://blogs.sun.com/sch/ _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
