2008/6/30 Albert White <[EMAIL PROTECTED]>:
> Danek Duvall wrote:
>> Again, "pkg verify" will do just that, checking hashes with -f.  We haven't
>> forgotten to install the man pages along with everything else, have we?
>
> :-)
>
>> If Albert wants to perform such a test outside the pkg(5) framework, that's
>> fine, but he'll need to be careful not to reimplement everything, and
>> probably do the test based on a hardcoded set of data.
>
> I've no intention of reimplementing everything, just a method to double
> check that the install has completed correctly and we have updated
> everything we should have. We'll be running verify -f anyway.
>
> 'pkg verify -f ' will compare the files on disk with the manifests on the
> system. It does not, as far as I can can tell, verify against the repository.
>
> Like I say I'm not setting out to completely test the framework, rather to
> come up with a way to double check that a 'pkg install/image-upgrade' has
> done what we expect. Though thinking more about it running a pkg verify to
> ensure the system is consistent then comparing the 'pkg contents -m'
> locally and on the repository may be good enough.

I suppose we could always add a "-r" option to "pkg verify" which
could do the same thing the client does now, except use the repository
to get the "known good" filehashes.


-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to