> >for example I would like to have /usr/bin/ls from nevada 160. Or at
> >least latest /usr/bin/ls available at the moment from given repository.
> >I am aware that there is sparc and x86 version.
> >
> >The intention is to 'import' selected files from one pkg repository to
> >new pkg repository.
> 
> I don't know of an official, documented, supported method off hand, but
> this seems to work:
> 
> wget -O - http://ipkg.us.oracle.com/solaris11/dev/file/1/`pkg contents -H -o 
> hash -a path=kernel/amd64/genunix 
> pkg://solaris/system/[email protected],5.11-0.173.0.0.0.0.17656` | gzcat > 
> /tmp/genunix


Right, that's similar approach as I found with local (file://)
repository. Find the file by it's hash.

I'm glad I didn't overlook anything!

Any idea how this "interface" will be stable? Are there expected any
changes?

Thank you a lot,
-- 
        Vlad
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to