]> code.ossystems Code Review - openembedded-core.git/commitdiff
initrdscripts: look for new systemd-udevd location
authorRoss Burton <ross.burton@intel.com>
Thu, 11 Apr 2013 16:28:26 +0000 (17:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Apr 2013 22:52:54 +0000 (23:52 +0100)
As per the previous commit, systemd-udevd is now in /sbin/systemd/.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/files/init-live.sh
meta/recipes-core/initrdscripts/initramfs-framework/udev

index 9fe1cd606cc9c7aa32783c2426bded951e43cf8f..4bd1b52c119cd3a48046b60c6c5756e32d92725f 100644 (file)
@@ -12,7 +12,7 @@ UNIONFS="no"
 # Copied from initramfs-framework. The core of this script probably should be
 # turned into initramfs-framework modules to reduce duplication.
 udev_daemon() {
-       OPTIONS="/sbin/udev/udevd /sbin/udevd /lib/udev/udevd /lib/systemd/systemd-udevd"
+       OPTIONS="/sbin/udev/udevd /sbin/udevd /lib/udev/udevd /sbin/systemd/systemd-udevd /lib/systemd/systemd-udevd"
 
        for o in $OPTIONS; do
                if [ -x "$o" ]; then
index bb462dc4488d98b58a01618be68c44d8db0ac4ad..18d44a5470636bbe8de292ba0cd7a8dbb5c6d00c 100644 (file)
@@ -11,7 +11,7 @@ udev_shutdown_hook_handler() {
 }
 
 udev_daemon() {
-       OPTIONS="/sbin/udev/udevd /sbin/udevd /lib/udev/udevd /lib/systemd/systemd-udevd"
+       OPTIONS="/sbin/udev/udevd /sbin/udevd /lib/udev/udevd /sbin/systemd/systemd-udevd /lib/systemd/systemd-udevd"
 
        for o in $OPTIONS; do
                if [ -x "$o" ]; then