patch management

September 19, 2010 at 20:42:04
Specs: rhel 5
boss

i am talking about patches bot packages. if u added patch in kernel how to roll back.

thanking for your repply


See More: patch management

Report •

#1
September 20, 2010 at 14:18:49
Just apply the patch again but use the -R parameter as well; the patch program will think it is a reverse patch and will restore the original code. Though if you made any manual changes to the code or lost the patch files, it makes more sense to just delete the tree and re-extract the source tarball.

Report •

#2
September 20, 2010 at 21:03:59
can u please give me one example adding and removing patch in kernel

Report •

#3
September 20, 2010 at 21:06:47
i know how to patch also and remove
this is my example:-
in rhel 5, command for patching is patch -p0 patchfile
and for removing: add macros in /etc/rpm or put one line in /etc/yum.conf i.e. tsflag=repackage

then remove package by date and time.

i want your opinion on this matter.

if u can give example then it will be fine


Report •
Related Solutions


Ask Question