There's no need to cd to the target directory when creating symlinks, so don't.

[ YOCTO #10985 ]

Signed-off-by: Ross Burton <ross.bur...@intel.com>
---
 meta/recipes-core/dbus/dbus_1.10.14.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-core/dbus/dbus_1.10.14.bb 
b/meta/recipes-core/dbus/dbus_1.10.14.bb
index e4f54ec..f50aff8 100644
--- a/meta/recipes-core/dbus/dbus_1.10.14.bb
+++ b/meta/recipes-core/dbus/dbus_1.10.14.bb
@@ -123,7 +123,6 @@ do_install() {
                for i in dbus.target.wants sockets.target.wants 
multi-user.target.wants; do \
                        install -d ${D}${systemd_system_unitdir}/$i; done
                install -m 0644 ${B}/bus/dbus.service ${B}/bus/dbus.socket 
${D}${systemd_system_unitdir}/
-               cd ${D}${systemd_system_unitdir}/dbus.target.wants/
                ln -fs ../dbus.socket 
${D}${systemd_system_unitdir}/dbus.target.wants/dbus.socket
                ln -fs ../dbus.socket 
${D}${systemd_system_unitdir}/sockets.target.wants/dbus.socket
                ln -fs ../dbus.service 
${D}${systemd_system_unitdir}/multi-user.target.wants/dbus.service
-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to