completely custom rpm's
- From: "Will McDonald" <wmcdonald (at) gmail.com>
- Date: Thu, 22 Jun 2006 15:14:54 +0100
On 22/06/06, Tom Brown <tom (at) 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.
_______________________________________________
CentOS mailing list
CentOS (at) centos.org
http://lists.centos.org/mailman/listinfo/centos