Find the answer to your Linux question:
Results 1 to 2 of 2
Hai friends, I am facing a problem. I want to know how to add files to an already existing rpm. Not at the creation time of rpm. Because we have ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    8

    Thumbs up How to add files dynamically to an already existing rpm ?

    Hai friends,
    I am facing a problem. I want to know how to add files to an already existing rpm. Not at the creation time of rpm. Because we have to add some files to it dynamically if any user purchases it from our webserver. I have searched everywhere but havent find any. Is it possible to do so?

    Any help will be deeply appreciated.

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    I know it's possible to open an rpm file as if it were a normal archive using cpio/gzip but I think you'd have to have the files mentioned in the spec file for the rpm. This might not matter if you're replacing a file with one of the same name, but I'd hazard a guess that you'd be better off having their rpm dynamically built for them each time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...