[PLUG] CentOS 4 and RHEL 4

Joe Pruett joey at clean.q7.com
Thu May 7 21:20:40 UTC 2009


> The software I'm installing is doing a query against rpm (rpm -qi rpm) to
> determine the vendor, and bombing out when it sees CentOS in that field.
> Anybody know of a way to update that field in the rpm database to read Red
> Hat, Inc.?

that is sleazy.  usually things just check /etc/redhat-release, but they 
must have caught on to how easy it is to lie :-).  what i'd suggest is 
making a fake rpm script that returns what they expect to see.  fiddling 
with the rpm database is bad.  hopefully this is just at install time?



More information about the PLUG mailing list