Skip to contentSkip to conversation

Generate a unified patch for source RPM

DISCUSSION Venkatesh. K 2 participants 3 messages Sep 25, 2003 – Oct 4, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I want to patch the RedHat Kernel RPM.

How do I generate a single patch file from patch-o-matic which can be applied to an src.rpm ?

Venkatesh K

#1 lore raw
Quoted 6 lines · Venkatesh. K

Hi,

I want to patch the RedHat Kernel RPM.

How do I generate a single patch file from patch-o-matic which can be applied to an src.rpm ?

# pom2patch - create a normal unified diff (patch) from patch-o-matic

included in the patch-o-matic directory

syntax is:

pom2patch my_kernel_source_dir submitted/00_foo.patch

(you have to run it seperately for every patch-o-matic patch)

Quoted 1 line

Venkatesh K

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#2 lore raw

Thanks a lot.

I had tried the same command line except the full path to the patch :(

Venkatesh K

----- Original Message -----
From: "Harald Welte" <[email protected]>
To: "Venkatesh. K" <[email protected]>
Cc: <>
Sent: Friday, October 03, 2003 4:20 PM
Subject: Re: Generate a unified patch for source RPM

Quoted 6 lines · Venkatesh. K

Hi,

I want to patch the RedHat Kernel RPM.

How do I generate a single patch file from patch-o-matic which can be applied to an src.rpm ?

# pom2patch - create a normal unified diff (patch) from patch-o-matic

included in the patch-o-matic directory

syntax is:

pom2patch my_kernel_source_dir submitted/00_foo.patch

(you have to run it seperately for every patch-o-matic patch)

Quoted 1 line

Venkatesh K

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie