On 22/06/06, Tom Brown tom@ng23.net wrote:
Hi
During a 'normal' install i have to add a bunch of users and modify some files such as DNS, Syslog, ssh key files etc
While i can do this with a shell script post install it would be VERY neat to just have all these changes packaged up into an rpm and i can then just rpm -i this post install.
Can i do this and if so can anyone point me to a how-to that would help me through the steps required.
I suspect the docs are the best place to start...
http://www.rpm.org/max-rpm/p5208.html
http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html
It should be relatively simple to create a .spec that doesn't actually *build* anything, just executes scripts.
Will.