Skip to contentSkip to conversation

Patching only one patch from pom-ng

DISCUSSION Damjan 2 participants 2 messages Oct 26, 2004

lore
Share & tools
lore

Damjan

author
#0 lore raw

Hi all,
I'm using the qnet patch for the Linux kernel, but I need to add the "ipt_random" support from pom-ng to it.

So my question is, how do I add the "ipt_random" patch to the 2.6.9-qnet tree?

Signature · 2 lines
damjan | дамјан
This is my jabber ID --> [email protected] <-- not my mail address!!!
#1 lore raw
Quoted 6 lines · Damjan

Hi all,
I'm using the qnet patch for the Linux kernel, but I need to add the "ipt_random" support from pom-ng to it.

So my question is, how do I add the "ipt_random" patch to the 2.6.9-qnet tree?

the generic answer to the question, "how do i apply just the random patch from POM" is:

export KERNEL_DIR="/path/to/kernel_src"
export IPTABLES_DIR="/path/to/iptables_src"
./runme pending
./runme base/random
cd $KERNEL_DIR && make menuconfig [...]
cd $IPTABLES_DIR && make && make install

you should always apply the pending patches from POM to avoid any unforeseen weirdness... to apply a single patch, use the "./runme suite/patch-dir" syntax, where the suite may be ascertained from the patch-dir/info file.

now for the part that you don't want to hear--as far as i know, the random patch is 2.4-only...it certainly is in patch-o-matic-ng-20040621, and appears to remain that way in CVS from a quick perusal of:

http://cvs.netfilter.org/cgi-bin/viewcvs.cgi/trunk/patch-o-matic-ng/random/

i.e. there is no "linux-2.6" directory in there.

-j

Signature · 1 line
Jason Opperisano <[email protected]>