* [PATCH 1/3] udev: Modify init script to use the correct path of udevadm
@ 2013-02-09 22:09 Andrei Gherzan
2013-02-09 22:09 ` [PATCH 2/3] udev: Cleanup .inc file Andrei Gherzan
2013-02-09 22:09 ` [PATCH 3/3] udev: PR bump Andrei Gherzan
0 siblings, 2 replies; 3+ messages in thread
From: Andrei Gherzan @ 2013-02-09 22:09 UTC (permalink / raw)
To: openembedded-core
udevadm is installed in /usr/bin not in /usr/sbin. Init script modified
accordingly.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
meta/recipes-core/udev/udev/init | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init
index 8ac1ff7..95d2672 100644
--- a/meta/recipes-core/udev/udev/init
+++ b/meta/recipes-core/udev/udev/init
@@ -73,13 +73,13 @@ case "$1" in
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
/lib/udev/udevd -d
- /usr/sbin/udevadm control --env=STARTUP=1
+ /usr/bin/udevadm control --env=STARTUP=1
if [ "$not_first_boot" != "" ];then
- /usr/sbin/udevadm trigger --action=add --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
- (/usr/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env=STARTUP=)&
+ /usr/bin/udevadm trigger --action=add --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
+ (/usr/bin/udevadm settle --timeout=3; /usr/bin/udevadm control --env=STARTUP=)&
else
- /usr/sbin/udevadm trigger --action=add
- /usr/sbin/udevadm settle
+ /usr/bin/udevadm trigger --action=add
+ /usr/bin/udevadm settle
fi
;;
stop)
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/3] udev: Cleanup .inc file
2013-02-09 22:09 [PATCH 1/3] udev: Modify init script to use the correct path of udevadm Andrei Gherzan
@ 2013-02-09 22:09 ` Andrei Gherzan
2013-02-09 22:09 ` [PATCH 3/3] udev: PR bump Andrei Gherzan
1 sibling, 0 replies; 3+ messages in thread
From: Andrei Gherzan @ 2013-02-09 22:09 UTC (permalink / raw)
To: openembedded-core
* udev-acl and udev-concolekit have no files so remove these packages
* there's nothing in sbindir so remove useless sbindir = "${base_sbindir}"
* there is no udevinfo or udevtest so remove these from udev-utils
* udevadm is installed in bindir so modify it's path in FILES_udev-utils
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
meta/recipes-core/udev/udev.inc | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index facad0c..bd82c34 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -31,9 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
inherit autotools pkgconfig update-rc.d
-# udevd/udevadm -> /sbin/, libudev.so.* -> /lib/
-sbindir = "${base_sbindir}"
-libexecdir = "${base_libdir}"
+libexecdir = "${base_libdir}"
EXTRA_OECONF = "--disable-introspection \
--with-rootlibdir=${base_libdir} \
--with-pci-ids-path=${datadir}/pci.ids \
@@ -46,8 +44,8 @@ EXTRA_OECONF = "--disable-introspection \
--with-rootprefix= \
"
-PACKAGES =+ "udev-acl udev-consolekit udev-utils"
-PACKAGES =+ "udev-cache libudev libudev-dev libudev-dbg"
+PACKAGES =+ "udev-utils udev-cache"
+PACKAGES =+ "libudev libudev-dev libudev-dbg"
PACKAGES =+ "libgudev libgudev-dev libgudev-dbg"
INITSCRIPT_PACKAGES = "udev udev-cache"
@@ -73,12 +71,7 @@ FILES_libgudev-dev = "${includedir}/gudev* ${libdir}/libgudev*.so ${libdir}/libg
${libdir}/libgudev*.a ${libdir}/pkgconfig/gudev*.pc"
FILES_udev-cache = "${sysconfdir}/init.d/udev-cache ${sysconfdir}/default/udev-cache"
-FILES_udev-acl = "${base_libdir}/udev/udev-acl ${base_libdir}/udev/rules.d/70-acl.rules"
-
-FILES_udev-utils = "${bindir}/udevinfo ${bindir}/udevtest ${base_sbindir}/udevadm"
-
-RDEPENDS_udev-consolekit += "udev-acl"
-FILES_udev-consolekit = "${libdir}/ConsoleKit"
+FILES_udev-utils = "${bindir}/udevadm"
do_install_append () {
install -d ${D}${sysconfdir}/init.d
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 3/3] udev: PR bump
2013-02-09 22:09 [PATCH 1/3] udev: Modify init script to use the correct path of udevadm Andrei Gherzan
2013-02-09 22:09 ` [PATCH 2/3] udev: Cleanup .inc file Andrei Gherzan
@ 2013-02-09 22:09 ` Andrei Gherzan
1 sibling, 0 replies; 3+ messages in thread
From: Andrei Gherzan @ 2013-02-09 22:09 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
meta/recipes-core/udev/udev_182.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/udev/udev_182.bb b/meta/recipes-core/udev/udev_182.bb
index 56d412e..42b4d08 100644
--- a/meta/recipes-core/udev/udev_182.bb
+++ b/meta/recipes-core/udev/udev_182.bb
@@ -1,6 +1,6 @@
include udev.inc
-PR = "r5"
+PR = "r6"
# module-init-tools from kmod_git will provide libkmod runtime
DEPENDS += "module-init-tools"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-09 22:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-09 22:09 [PATCH 1/3] udev: Modify init script to use the correct path of udevadm Andrei Gherzan
2013-02-09 22:09 ` [PATCH 2/3] udev: Cleanup .inc file Andrei Gherzan
2013-02-09 22:09 ` [PATCH 3/3] udev: PR bump Andrei Gherzan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox