On 06/30/10 06:16 AM, James C. McPherson wrote:
Hi folks, today on elpaso we once again got bitten by the effect of 1482 image find_root should ignore autofs directories listed in mnttab Checking whether perl-510 was installed worked fine for me, but not JBeck, because his pwd was /net/opal/something, and he hasn't installed perl-510 on opal yet. After a long and somewhat heated discussion with Rich earlier this evening, I found out that a number of people using pkg(5) make the assumption that cd /random/mount/point pkg install randomfuu will install randomfuu in the image which is found underneath /random/mount/point. (Rather than running pkg -R /random/mount/point install randomfuu, as I would have expected from TFM). And therefore fixing pkg(1) so that it searches for system images first (ie, what a naive user like myself might think after reading TFM), would break them. And they would scream. I've searched, but I haven't come across any actual user images yet. By that I mean, images that I want to install into $HOME. Where can I find a pkg(5) definition of a user image?
This has already been discussed before: http://opensolaris.markmail.org/thread/x2y2n776ihyimrah See also: https://defect.opensolaris.org/bz/show_bug.cgi?id=15864 ...
I'd be glad to find out why it is that what I think of as the obvious use case is now deprecated.
The obvious use case is not deprecated as far as I'm aware. Be aware that user images aren't used much yet (outside of Glassfish and testing) because support for linking images together hasn't been implemented. Although, someone is working on that functionality right now.
The above is also why there isn't a clear definition available.
In the meantime, I'm going to have to alias "pkg" to "/usr/bin/pkg -R /".
That or set PKG_IMAGE in your environment to the path of the image you want to deal with.
Cheers, -Shawn _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
