Binary differential (delta) updates: keystone_install dmgpatcher support.
Binary differential (delta) updates: keystone_install dmgpatcher support.

There is no standalone dmgpatcher tool because the operation is tied too
closely to Keystone update application, but keystone_install is now able to
perform the dmgpatcher operation as an inverse to what dmgdiffer does when it
creates patch update disk images given an "old" and "new" existing disk image.

If keystone_install detects a .patch directory, it applies the dirpatches that
are contained therein using dirpatcher and goobspatch.  keystone_install
expects two dirpatches: one for the versioned directory, and one for the outer
app bundle.  These two dirpatches correspond exactly to the two rsyncs that
keystone_install performs when updating from a full-install disk image.

BUG=45017
TEST=none
Review URL: http://codereview.chromium.org/2832005

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@49805 0039d316-1c4b-4281-b951-d872f2087c98

yitian134/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,adobe/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,adobe/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,gavinp/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,ropik/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,ropik/chromium,ropik/chromium,gavinp/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium