From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brown Date: Thu, 18 Aug 2005 15:27:52 +0000 Subject: Re: udev-067 and 2.6.12? Message-Id: <9c21eeae05081808274ffeae7c@mail.gmail.com> List-Id: References: <200508162349.01610.s0348365@sms.ed.ac.uk> In-Reply-To: <200508162349.01610.s0348365@sms.ed.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Well I'm a developer for SourceMage and one of the things that we pride ourselves on is options. So there's a couple of things we had to change with udev to make it fit into our system of doing things. 1) no package to start or stop services in the process of installing the package... hence the removal of the killall udevd && udevd --daemon call 2) the `make -C extras/run_directory USE_LOG=3Dtrue` didn't work if the root directory of udev was built with logging support. I had to add the udev_logger.c to the root directory add that file to the Makefile so it would end up in udev.a, then the command I used to build with syslog support is `make -C extras/run_directory LDFLAGS=3D"-lc" USE_LOG=3Dtrue`. So the main reason for using this patch and adding the udev_logger.c source file is so that the extras/run_directory can have syslog support or not have syslog support. - David Brown On 8/17/05, Greg KH wrote: > On Tue, Aug 16, 2005 at 04:31:48PM -0700, David Brown wrote: > > Okay you can disable syslog or I had to make an extra C file and patch > > the makefile to get it to work. > > > > to disable syslog `make USE_LOG=FAlse` >=20 > I don't understand the need for this patch. Care to provide more > details? >=20 > > =3D=3D begin Makefile.patch =3D> > --- Makefile.old 2005-07-23 09:= 27:02.000000000 -0700 > > +++ Makefile 2005-07-24 22:52:21.000000000 -0700 > > @@ -145,7 +145,8 @@ > > udev_db.o \ > > udev_rules.o \ > > udev_rules_parse.o \ > > - udev_libc_wrapper.o > > + udev_libc_wrapper.o \ > > + udev_logger.o > > > > OBJS =3D \ > > udev.a \ > > @@ -377,11 +378,6 @@ > > $(INSTALL_PROGRAM) -D $(INFO) $(DESTDIR)$(usrbindir)/$(INFO) > > $(INSTALL_PROGRAM) -D $(TESTER) $(DESTDIR)$(usrbindir)/$(TESTER) > > $(INSTALL_PROGRAM) -D $(STARTER) $(DESTDIR)$(sbindir)/$(STARTER) > > -ifndef DESTDIR > > - - killall $(DAEMON) > > - - rm -rf $(udevdb) > > - - $(sbindir)/$(DAEMON) --daemon > > -endif >=20 > Why did you comment this out? >=20 > thanks, >=20 > greg k-h > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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