Changes between Version 22 and Version 23 of DistributionPackaging


Ignore:
Timestamp:
Jun 6, 2007, 6:19:05 PM (12 years ago)
Author:
bruno
Comment:

How to patch

Legend:

Unmodified
Added
Removed
Modified
  • DistributionPackaging

    v22 v23  
    106106}}}
    107107
     108== Applying patches ==
     109
     110You may want to apply patches to a given version of mondo and/or mindi in order to fix an annoying issue.
     111Look at SVN through [http://trac.mondorescue.org/browser that] interface. Say that you want to apply [http://trac.mondorescue.org/changeset/1488 revision 1488]
     112which was issued after 2.2.3 of mondo to your 2.2.3 version to fix OCFS support.
     113
     114First save the revision under /tmp as a patch file format (Use the Unified Diff link at the bottom of the changeset page)
     115Then use the previous File Rebuild Process paragraph, but before calling make to build the software, apply your previously saved patch by doing
     116{{{
     117cd /tmp
     118wget ftp://ftp.mondorescue.org/src/mondo-2.2.3.tar.bz2
     119wget "http://trac.mondorescue.org/changeset/1488?format=diff"
     120tar xvfj mondo-2.2.3.tar.bz2
     121cd mondo-2.2.3
     122patch -s -p3 < ../1488\?format=diff
     123}}}
     124
     125After that you may have to solve conflicts (due to the fact that as in this case the patch doesn't apply cleanly as other patches in the middle are missing)
     126Then again you can use the configure ; make ; make install trilogy.
     127
    108128== Location of mondo and mindi official Debian packages ==
    109129