Can't user images be used for installing multiple versions simultaneously?

pkg image-create -U ... /opt/SunStudio11
pkg -R /opt/SunStudio11 install [EMAIL PROTECTED]

pkg image-create -U ... /opt/SunStudio12
pkg -R /opt/SunStudio11 install [EMAIL PROTECTED]

Tom


Kuldip Oberoi wrote:
Thanks Stephen!

I may not fully understand how this works, but here's a subset of our requirements:

1. Users have the ability to have multiple Sun Studio versions installed (Sun Studio 11 [for CBE, for instance], Sun Studio 12 [latest FCS release], etc.)

2. Users are able to get access to the latest public builds via Sun Studio Express program (non-FCS) and have them installed next to FCS builds.

Because there is no option to specify destination directory via IPS, we thought we'd move to having version specific directories for our FCS releases. Because of this, we envisioned that we would have 1 sunstudioexpress pkg and separate packages for major releases (sunstudio11, sunstudio12, ...)

So, in theory, someone can have the following on their system:

/opt/SunStudioExpress/
/opt/SunStudio12/
/opt/SunStudio11/


My understanding is that if we want to have version specific directories, this needs to be associated with a version-specific package. However, if a destination directory can be associated with a specific _version_ of a package, then we can go with 1 package.

Thoughts?  Mis-assumptions I've made, etc.?

Thanks in advance for the clarification!

/kso



Stephen Hahn wrote:
* Kuldip Oberoi <[EMAIL PROTECTED]> [2008-04-29 14:51]:
sunstudioexpress is what you want.  I believe sunstudio will be removed.
  I must have missed this going in.  It's not a great idea to name
  packages with their release characteristics.  That's what the version
  is for.

  For instance, if sunstudioexpress isn't the name of the final package,
  then upgrades from

  pkg:/[EMAIL PROTECTED],5.11-0.86:20080428T164106Z

to
  pkg:/[EMAIL PROTECTED],5.11-1:...

  are (a) manual by default, and (b) will involve retrieving all of the
sunstudio files and deleting all of the sunstudioexpress files.
  (Not picking on the compilers here, but want to point out authors are
  on the wrong path if they start naming their packages "foo-beta" and
  "foo-express", rather than [EMAIL PROTECTED] and then [EMAIL PROTECTED]  One 
for the
  developer's guide.)

  - Stephen
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to