On 09/ 3/10 02:06 PM, Alan Steinberg wrote:
I also saw why we assumed it was only a warning. It looks like this step
that followed our "pkgrepo create" does the creation on an empty directory:
$ pfexec pkg create file:///var/pkg/testrepo
pkgrepo: A package repository (or directory) already exists at
'/var/pkg/testrepo/'
$ ls /var/pkg/testrepo/
[EMPTY]
$ pfexec pkgrepo -s file:///var/pkg/testrepo set
publisher/prefix=opensolaris.org
$ ls /var/pkg/testrepo/
file pkg5.repository
This would eliminate the need to run pkgrepo create. Was that intentional?
Yes, for compatibility with older repositories during format upgrade,
and because the new format doesn't require any of the directory
structure the old ones had.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss