Stephen Hahn wrote:
* Pedro Jurado <[EMAIL PROTECTED]> [2008-12-01 17:06]:
Hi everybody.
I'm working in a project trying to migrate all of our tools from SVR4 to
IPS and I have a couple of questions:
Is there any option in IPS similar to the -R in SVR4 that allows us to
reallocated files in another directory when installing the package?
You must first make an image, using "pkg image-create", but otherwise
the pkg command uses -R to use that alternate image (rather that
whatever image the pkg command finds itself in...).
I think that is too much. As far as I know, with image-create what we
are doing is to create a image suitable enough to install new packages
I don't want so much, just install a package in a different subdirectory.
Anyway, I though that is the only way I have so I tried in Opensolaris
2008.11 (snv_100) and it didn't work
[EMAIL PROTECTED]:# pkg image-create -F -a
Prueba=http://localhost:3000 /autohome/zfs
[EMAIL PROTECTED]:# pkg install STEPyp_YPTS-Snv -R /autohome/zfs
Creating Plan -
pkg: The following pattern(s) did not match any packages in the current
catalog. Try relaxing the pattern, refreshing and/or examining the catalogs
-R
Any ideas of what I'm doing wrong?
Thanks in advance.
The other question is about repository synchronizing, I suppose that
after create and upload a package in your own repository, you will need
to upload to other public repository, how can I do that? I take a look
to pkgrecv, but I don't think this is the tool I was looking for. Can
anyone point me to some tutorial or document that explain this process?
You can, in fact, pkgrecv from one and pkgsend to the other. We tend
to build up a revised repository and then use rsync or ZFS incremental
snapshots to transmit it to its public location.
- Stephen
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss