linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Brown <dmlb2000@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev-067 and 2.6.12?
Date: Thu, 18 Aug 2005 15:27:52 +0000	[thread overview]
Message-ID: <9c21eeae05081808274ffeae7c@mail.gmail.com> (raw)
In-Reply-To: <200508162349.01610.s0348365@sms.ed.ac.uk>

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=true` 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="-lc" USE_LOG=true`.

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 <greg@kroah.com> 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úlse`
> 
> I don't understand the need for this patch.  Care to provide more
> details?
> 
> > == begin Makefile.patch => > --- 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 = \
> >       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
> 
> Why did you comment this out?
> 
> thanks,
> 
> 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

  parent reply	other threads:[~2005-08-18 15:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-16 22:49 udev-067 and 2.6.12? Alistair John Strachan
2005-08-16 23:00 ` David Brown
2005-08-16 23:26 ` Alistair John Strachan
2005-08-16 23:31 ` David Brown
2005-08-16 23:55 ` Kay Sievers
2005-08-17  8:09 ` Arioch
2005-08-17  8:26 ` Alistair John Strachan
2005-08-17 12:35 ` Kay Sievers
2005-08-17 14:52 ` Alistair John Strachan
2005-08-17 15:10 ` Kay Sievers
2005-08-17 23:48 ` Greg KH
2005-08-18 15:27 ` David Brown [this message]
2005-08-18 15:38 ` Greg KH
2005-08-18 15:53 ` David Brown
2005-08-18 16:32 ` Alistair John Strachan
2005-08-18 16:56 ` Greg KH
2005-08-18 17:19 ` Alistair John Strachan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9c21eeae05081808274ffeae7c@mail.gmail.com \
    --to=dmlb2000@gmail.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).