LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to patch some executables that are part of the binary rpm package ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-patch-some-executables-that-are-part-of-the-binary-rpm-package-708852/)

sultf 03-03-2009 12:29 PM

How to patch some executables that are part of the binary rpm package ?
 
Hi,
I have created a binary rpm package with several executables and configuration files. I want to patch only one of the binaries that are part of the rpm package. Is it possible to do it ?
I don't want to create a complete package again and update it on the customer system. I will appreciate any help.

Thanks
FS

T74marcell 03-03-2009 01:24 PM

Patching is usually something that is done with source and configuration files, but for binary executables it usually doesn't really make sense to replace partial binary code. As your RPM is a binary package (not source code), you will have to create a new RPM. If you have done it once, then it won't be as complicated when doing it the next time. Automating the RPM-building process with some shell script makes it even easier.

----------
T74marcell

Arch Linux


All times are GMT -5. The time now is 01:51 AM.