boss i am talking about patches bot packages. if u added patch in kernel how to roll back.
thanking for your repply
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.
can u please give me one example adding and removing patch in kernel
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=repackagethen remove package by date and time.
i want your opinion on this matter.
if u can give example then it will be fine