linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Krause <chkr@plauener.de>
To: linux-hotplug@vger.kernel.org
Subject: small install problem (udev_run_hotplugd)
Date: Mon, 17 Oct 2005 22:02:05 +0000	[thread overview]
Message-ID: <m34q7fvm3m.fsf@gondor.middle-earth.priv> (raw)

Hi,

I've found a small problem with the Makefile in
/extras/run_directory/Makefile:

It installs udevd_run_devd as udev_run_devd _and_ as udev_run_hotplugd.
This means, that the correct binary (udev_run_hotplugd) is built but
never installed. Because the wrong udev_run_hotplugd is installed, the
"hotplug compatibility layer" doesn't work anymore and no scripts in
/etc/hotplug/default/ are executed.  In my case hald did not work...


This small patch solves the problem:

diff -uNr udev-070.old/extras/run_directory/Makefile udev-070/extras/run_directory/Makefile
--- udev-070.old/extras/run_directory/Makefile	2005-09-15 01:19:07.000000000 +0200
+++ udev-070/extras/run_directory/Makefile	2005-10-17 23:29:41.000000000 +0200
@@ -47,7 +47,7 @@
 
 install-bin: all
 	$(INSTALL_PROGRAM) udev_run_devd $(DESTDIR)$(sbindir)/udev_run_devd
-	$(INSTALL_PROGRAM) udev_run_devd $(DESTDIR)$(sbindir)/udev_run_hotplugd
+	$(INSTALL_PROGRAM) udev_run_hotplugd $(DESTDIR)$(sbindir)/udev_run_hotplugd
 .PHONY: install-bin
 
 uninstall-bin:


Best regards,
Christian


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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

             reply	other threads:[~2005-10-17 22:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17 22:02 Christian Krause [this message]
2005-10-17 23:13 ` small install problem (udev_run_hotplugd) Kay Sievers

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=m34q7fvm3m.fsf@gondor.middle-earth.priv \
    --to=chkr@plauener.de \
    --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).