When we create new repositories, we first make a separate zfs
filesystem for the respository. This create the directory as well:
$ pfexec zfs create -o mountpoint=/var/pkg/testrepo tank/testrepo
When pkgrepo is run to turn it into a repository, pkgrepo warns that the
directory already exists:
$ pfexec pkgrepo create file:///var/pkg/testrepo
pkgrepo: A package repository (or directory) already exists at
'/var/pkg/testrepo/'.
I know we can just ignore it, since it is just informational (though
someone might think it means it failed). But since I think it would be
very common to create a zfs mountpoint first, I'm wondering if the
message is necessary for an empty directory. Alternatively, maybe it can
be rephrased to make it more of a normal thing. Maybe something like:
pkgrepo: Creating package repository in existing directory
'/var/pkg/testrepo/'.
-- Alan
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss