From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sat, 28 Feb 2004 03:33:39 +0000 Subject: udev - kill udevd on install Message-Id: <20040228033339.GB32032@vrfy.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Pd0ReVV5GZGQvF3a" List-Id: To: linux-hotplug@vger.kernel.org --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline We want to kill udevd after installing a new version, cause the event contains a magic with the version number of udev. thanks, Kay --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="02-kill-udevd.patch" ===== 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)" \ --Pd0ReVV5GZGQvF3a-- ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel