[Pkg-lirc-maint] Bug#456325: use udevadm instead of udevsettle

Scott James Remnant scott at ubuntu.com
Fri Dec 14 16:30:49 UTC 2007


Package: lirc
Version: 0.8.0-9
Severity: wishlist
Tags: patch

tools have been merged into one utility upstream

*** /tmp/tmptRK4mG
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/lirc.init.d: call udevadm instead of udevsettle

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: lenny/sid
  APT prefers gutsy-updates
  APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
diff -u lirc-0.8.3~pre1/debian/lirc.init.d lirc-0.8.3~pre1/debian/lirc.init.d
--- lirc-0.8.3~pre1/debian/lirc.init.d
+++ lirc-0.8.3~pre1/debian/lirc.init.d
@@ -35,9 +35,9 @@
 		START_LIRCD=false
 	fi
 
-	if test -x /sbin/udevsettle && [ ! -z $3 ] && [ $3 != "udev" ];
+	if test -x /sbin/udevadm settle && [ ! -z $3 ] && [ $3 != "udev" ];
 	then
-		if ! /sbin/udevsettle; then
+		if ! /sbin/udevadm settle; then
 		  echo "timeout waiting for devices to be ready"
 		fi
 	fi


More information about the Pkg-lirc-maint mailing list