On 05/15/12 12:43 AM, Steve Christensen wrote:
> Greetings,
>
> I have been looking at the IPS docs and perhaps I have missed the appropriate
> discussions, but I have a number of items I would like to get clarified. If
> all I need to have is a pointer to the correct documentation, please direct me
> to the right stuff. I will start with two issues.
>
> 1. Suppose I want to have packages that are x86 or SPARC only. How do I put
> the information into the package to make sure that someone wanting a SPARC
> install does not get an x86 one? So, for example, if I have a package for
> software foo-1.0 in SPARC and one in x86, do they have to be named differently
> or put on two separate servers? What are the rules? I do not want users to
> have to download a package that contains both.
If you're running an ipkg depot server, they will only download the bits they
need. They'd only get both bits if you're distributing the packages as full
*.p5m archives. If you do insist on per-arch packages, then yes, I believe
you'll need to either serve them from different publishers or give them
different names, and then learn to deal with user complaints that you make weird
packages, unlike every other package publisher in the world.
> 2. Now suppose I have a system where I want to install something on /opt/sfw,
> but the /opt/sfw directory does not have enough space and I make it a link to
> a
> place on a larger disk. In at least one attempt to install a package
> designed
> to go into /opt/sfw, I found that the package failed to install with a message
> that says /opt/sfw is a file or some such. Is there some IPS package option
> to
> avoid this or some other trick, or did I just do something wrong?
That would also break with SVR4 as I remember, and the standard workaround of
"Use loopback mount, not symlink" should work with both.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss