summaryrefslogtreecommitdiff
path: root/udev.spec
diff options
context:
space:
mode:
authorrml@ximian.com <rml@ximian.com>2003-12-16 23:30:15 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:08 -0700
commit316c51507724406f2ded06d067f55e867df90b15 (patch)
treeafe8447897da2eec7b21541968da46fe5d671ff8 /udev.spec
parent9e919aa4f0e6f1ab2e6f9871d550a4f59bb3ed0c (diff)
[PATCH] install initscript in udev rpm
Attached patch installs the initscript via 'make install' and adds it to the RPM package. The RPM script then runs chkconfig(8) to setup the initscript to run at the appropriate runlevels.
Diffstat (limited to 'udev.spec')
-rw-r--r--udev.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/udev.spec b/udev.spec
index bd455ef2b1..516239bc6d 100644
--- a/udev.spec
+++ b/udev.spec
@@ -23,6 +23,9 @@ make CC="gcc $RPM_OPT_FLAGS"
%install
make DESTDIR=$RPM_BUILD_ROOT install
+%post
+/sbin/chkconfig --add udev
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -40,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_mandir}/man8/udev.8*
%changelog
+* Tue Dec 16 2003 Robert Love <rml@ximian.com>
+- install the initscript and run chkconfig on it
+
* Tue Nov 2 2003 Greg Kroah-Hartman <greg@kroah.com>
- changes due to config file name changes