mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
[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.
This commit is contained in:
parent
9e919aa4f0
commit
316c515077
1
Makefile
1
Makefile
@ -297,6 +297,7 @@ uninstall: uninstall-dbus-policy
|
||||
- rm $(configdir)/udev.permissions
|
||||
- rm $(configdir)/udev.rules
|
||||
- rm $(configdir)/udev.conf
|
||||
- rm $(initdir)/udev
|
||||
- rm $(mandir)/man8/udev.8
|
||||
- rm $(sbindir)/$(ROOT)
|
||||
- rmdir $(hotplugdir)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user