linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev - kill udevd on install
@ 2004-02-28  3:33 Kay Sievers
  2004-02-28  6:50 ` Greg KH
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kay Sievers @ 2004-02-28  3:33 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 133 bytes --]

We want to kill udevd after installing a new version, cause the event
contains a magic with the version number of udev.

thanks,
Kay

[-- Attachment #2: 02-kill-udevd.patch --]
[-- Type: text/plain, Size: 824 bytes --]

===== Makefile 1.122 vs edited =====
--- 1.122/Makefile	Sat Feb 28 02:59:43 2004
+++ edited/Makefile	Sat Feb 28 04:25:36 2004
@@ -373,10 +373,12 @@
 	$(INSTALL_DATA) -D udev.8 $(DESTDIR)$(mandir)/man8/udev.8
 	$(INSTALL_DATA) -D udevinfo.8 $(DESTDIR)$(mandir)/man8/udevinfo.8
 	$(INSTALL_DATA) -D udevd.8 $(DESTDIR)$(mandir)/man8/udevd.8
-	- ln -f -s ./udevd.8 $(DESTDIR)$(mandir)/man8/udevsend.8
-	- rm -f $(DESTDIR)$(hotplugdir)/$(ROOT).hotplug
-	- rm -f $(DESTDIR)$(udevdir)/.udev.tdb
+	- ln -f -s udevd.8 $(DESTDIR)$(mandir)/man8/udevsend.8
 	- ln -f -s $(sbindir)/$(SENDER) $(DESTDIR)$(hotplugdir)/$(ROOT).hotplug
+ifndef DESTDIR
+	- killall udevd
+	- rm -f $(udevdir)/.udev.tdb
+endif
 	@extras="$(EXTRAS)" ; for target in $$extras ; do \
 		echo $$target ; \
 		$(MAKE) prefix=$(prefix) LD="$(LD)" SYSFS="$(SYSFS)" \

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-18 14:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-28  3:33 udev - kill udevd on install Kay Sievers
2004-02-28  6:50 ` Greg KH
2004-02-28 12:48 ` Kay Sievers
2004-03-01 22:26 ` Greg KH
2004-03-18 14:40 ` Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).