Binary diffs for deb files
Matt Zimmerman
mdz at ubuntu.com
Wed May 3 01:04:45 BST 2006
On Wed, May 03, 2006 at 12:39:16AM +0100, James Hall wrote:
> I have just written a script called recompress-deb. This will extract a
> deb, uncompress the gzipped files and preserve timestamps etc.
>
> I recompressed two versions of the same app (as you would do if you
> needed to make it rsyncable). Making a patch on uncompressed data
> between these two files will preserve checksum when applied!
>
> 1824626627 1040794 synaptic_new.deb
> 1824626627 1040794 synaptic_patched.deb
>
> I have posted updated scripts at https://wiki.ubuntu.com/DiffDebScript
Where are you getting the correct timestamps for the new versions of
control.tar and data.tar? Does bsdiff/bspatch preserve those for you?
--
- mdz
More information about the ubuntu-devel
mailing list