Updating RPMs using binary deltas (demo)

M A Young m.a.young at durham.ac.uk
Sun Jan 25 14:49:56 UTC 2004


Here is a couple of demo short scripts for generating and applying deltas
between two rpms. The key step is to use the minigzip program from the
zlib source (see the docs directory of the zlib-devel package), as
minigzip uses compression compatible with the compression rpm uses. If I
was writing this properly, I would consider using python, which seems to
have a zlib modules, and could also hook into some rpm libraries.

	Michael Young
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makerpmdelta.sh
Type: application/x-sh
Size: 834 bytes
Desc: makerpmdelta.sh script
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040125/488e09c5/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: applyrpmdelta.sh
Type: application/x-sh
Size: 908 bytes
Desc: applyrpmdelta.sh script
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040125/488e09c5/attachment-0001.sh>


More information about the fedora-devel-list mailing list