Adding more data at a later time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a client server product. The client is packaged as an rpm. The
client, upon installation , needs to know the servers ip and port number
to connect to.Till now, we got this from the user interactively in %post
.
Is there a way by which this information can be added to the rpm in the
field without recreating the rpm ? 
I tried this: 

Have a placeholder of the ip and port in the %post, say
xxx.xxx.xxx.xxx:xxxxx, and do a binary find replace on the rpm later  to
add the required info. 
This of course messes up the digest verification, but nevertheless, it
works with --nodigest. 
Is there a better way ? 
Or maybe , after adding the info, can the digest be recomputed ? 
Regards


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux