All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] udev: fixed obsolete udevadm syntax for udev init.d script.
@ 2009-05-24 18:33 Ihar Hrachyshka
  2009-05-24 18:33 ` [PATCH 2/2] udev: moved udevadm to the main udev package Ihar Hrachyshka
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Ihar Hrachyshka @ 2009-05-24 18:33 UTC (permalink / raw)
  To: openembedded-devel

Fixed the following warning message when executing udev init script:
"udevadm control commands requires the --<command> format, this will
stop working in a future release."

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
---
 recipes/udev/udev-124/init |    4 ++--
 recipes/udev/udev-141/init |    4 ++--
 recipes/udev/udev_124.bb   |    2 +-
 recipes/udev/udev_141.bb   |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/recipes/udev/udev-124/init b/recipes/udev/udev-124/init
index efe4470..7188b5a 100644
--- a/recipes/udev/udev-124/init
+++ b/recipes/udev/udev-124/init
@@ -56,10 +56,10 @@ kill_udevd > "/dev/null" 2>&1
         echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
         /sbin/udevd -d
 
-        /sbin/udevadm control env STARTUP=1
+        /sbin/udevadm control --env STARTUP=1
 		if [ "$not_first_boot" != "" ];then
 			/sbin/udevadm trigger --subsystem-nomatch=tty --subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole --subsystem-nomatch=misc --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus  --subsystem-nomatch=graphics  --subsystem-nomatch=backlight --subsystem-nomatch=video4linux  --subsystem-nomatch=platform
-			(/sbin/udevadm settle --timeout=3; /sbin/udevadm control env STARTUP=)&
+			(/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env STARTUP=)&
 			if [ "$DEVCACHE" != "" ]; then
 				rm -f /tmp/uname
 				rm -f /tmp/cmdline
diff --git a/recipes/udev/udev-141/init b/recipes/udev/udev-141/init
index efe4470..7188b5a 100644
--- a/recipes/udev/udev-141/init
+++ b/recipes/udev/udev-141/init
@@ -56,10 +56,10 @@ kill_udevd > "/dev/null" 2>&1
         echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
         /sbin/udevd -d
 
-        /sbin/udevadm control env STARTUP=1
+        /sbin/udevadm control --env STARTUP=1
 		if [ "$not_first_boot" != "" ];then
 			/sbin/udevadm trigger --subsystem-nomatch=tty --subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole --subsystem-nomatch=misc --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus  --subsystem-nomatch=graphics  --subsystem-nomatch=backlight --subsystem-nomatch=video4linux  --subsystem-nomatch=platform
-			(/sbin/udevadm settle --timeout=3; /sbin/udevadm control env STARTUP=)&
+			(/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env STARTUP=)&
 			if [ "$DEVCACHE" != "" ]; then
 				rm -f /tmp/uname
 				rm -f /tmp/cmdline
diff --git a/recipes/udev/udev_124.bb b/recipes/udev/udev_124.bb
index 834a70a..be545f7 100644
--- a/recipes/udev/udev_124.bb
+++ b/recipes/udev/udev_124.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
 /dev/, handles hotplug events and loads drivers at boot time. It replaces \
 the hotplug package and requires a kernel not older than 2.6.12."
 RPROVIDES_${PN} = "hotplug"
-PR = "r17"
+PR = "r18"
 
 SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
 	   file://noasmlinkage.patch;patch=1 \
diff --git a/recipes/udev/udev_141.bb b/recipes/udev/udev_141.bb
index e7438fb..7e26798 100644
--- a/recipes/udev/udev_141.bb
+++ b/recipes/udev/udev_141.bb
@@ -6,7 +6,7 @@ LICENSE = "GPL"
 # Untested
 DEFAULT_PREFERENCE = "-1"
 
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
 	   file://mount.blacklist \
-- 
1.6.3.1




^ permalink raw reply related	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2009-05-30 20:49 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-24 18:33 [PATCH 1/2] udev: fixed obsolete udevadm syntax for udev init.d script Ihar Hrachyshka
2009-05-24 18:33 ` [PATCH 2/2] udev: moved udevadm to the main udev package Ihar Hrachyshka
2009-05-25  9:25   ` Marcin Juszkiewicz
2009-05-25  9:54     ` Ihar Hrachyshka
2009-05-25 10:24       ` Koen Kooi
2009-05-25 10:48         ` [PATCH] udev: include udev-utils into udev rootfs Ihar Hrachyshka
2009-05-25 10:51           ` Ihar Hrachyshka
2009-05-25 11:14             ` Koen Kooi
2009-05-25 16:28               ` Otavio Salvador
2009-05-25 18:43                 ` Ihar Hrachyshka
2009-05-25 10:53         ` [PATCH 2/2] udev: moved udevadm to the main udev package Graeme Gregory
2009-05-25 10:30       ` Phil Blundell
2009-05-25 10:55         ` Ihar Hrachyshka
2009-05-25 16:31           ` Otavio Salvador
2009-05-25 16:53             ` Phil Blundell
2009-05-25 16:59               ` Otavio Salvador
2009-05-25 17:32                 ` Phil Blundell
2009-05-25 18:57                   ` Otavio Salvador
2009-05-25 19:11                     ` Ihar Hrachyshka
2009-05-25 19:52                     ` Phil Blundell
2009-05-25 20:22                       ` Otavio Salvador
2009-05-25 20:29                         ` Ihar Hrachyshka
2009-05-25 20:48                           ` Otavio Salvador
2009-05-25 20:29                         ` Phil Blundell
2009-05-24 19:18 ` [PATCH 1/2] udev: fixed obsolete udevadm syntax for udev init.d script Phil Blundell
2009-05-25  2:06   ` Tom Rini
2009-05-25 16:38     ` Otavio Salvador
2009-05-25 18:40       ` Ihar Hrachyshka
2009-05-24 20:54 ` [PATCH 1/4] " Ihar Hrachyshka
2009-05-30 20:30   ` Ihar Hrachyshka
2009-05-30 20:40   ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.