Put it in an "local" repo and install it with yum in the %post section of the kickstart. This will be exactly the same as installing with yum after an install, so you can test it outside of kickstart.
On Wed, 7 Jul 2010, ma qiang wrote:
Thanks a lot for your reply. But I have a problem. I have update source and rebuild a rpm. I have many computers in my school need to install this rpm. So I want to replace the new rpm in centos, and build a new centos. and then I can install the rpm using kickstart automaticly. :) .
---------------------------------------------------------------------- Jim Wildman, CISSP, RHCE jim@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine