Re: patching RPMs



In comp.os.linux.misc, on Tue 28 February 2006 08:43, Laurenz Albe
<invite@xxxxxxxxxxxxxxx> wrote:

Rick Silvers <dev_null@xxxxxx> wrote:
Hello, I have an RPM that consists of already compiled binaries (
about 100 megs worth) and I now have 3 files to patch to that RPM.

[snip]

To understand what happens during an RPM upgrade, read

http://www.rpm.org/max-rpm/ch-rpm-upgrade.html#S1-RPM-UPGRADE-WHAT-IT-DOES
(and the surrounding documentation).

The correct approach is to create a myRPM-1-2.i386.rpm that contains
all the files of the original RPM that stayed the same plus the three
modified files.

Another approach is to create a delta rpm that will patch the original
rpm to create the new one. Unfortunately, I do not have a link to the
documentation for this :-(
--
Robert HULL

Archival or publication of this article on any part of thisishull.net
is without consent and is in direct breach of the Data Protection Act
.



Relevant Pages

  • Re: Make RPMs from .spec and package source tarball? how?
    ... and then make an RPM based on the ATRPMS spec for the package. ... Install the mythtv source package from atrpms. ... Make the changes you need to the sources and prepare a patch. ...
    (Fedora)
  • Re: Fedora Updates: whole packages vs patches
    ... is recreating the base if you remove the patch. ... > location of the original package, and restore the needed parts from there. ... Implementing a tool that could replace changed files inside binary RPM, ... either download a patch, or new RPM. ...
    (Fedora)
  • RE: Creating RPMS from source without Makefile
    ... Creating RPMS from source without Makefile ... For several applications/tools I'd like to create an RPM to make ... You may want to start with a package less complex than httpd ... "Start with pristine sources; then patch as needed. ...
    (RedHat)
  • RE: [SLE] YaST Online Update Problem
    ... YaST ... I tried that and I get the following for each patch that YaST is trying to ... ERROR (YOU: rpm failed) ... YShortcutmanager.cc:96 No valid shortcut for ...
    (SuSE)
  • Re: Fedora Updates: whole packages vs patches
    ... On Thursday 09 December 2004 12:36 pm, Rich Burroughs wrote: ... > Then the md5sums that RPM uses to check the integrity of the files would ... > be broken for the initial package. ... > In the case of a patch RPM like you mention, ...
    (Fedora)