From: Ross Burton Date: Thu, 9 Feb 2017 16:47:21 +0000 (+0000) Subject: dbus: remove pointless cd X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08855da8292b84daf3a7c8f1049cde9161e0bc48;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git dbus: remove pointless cd There's no need to cd to the target directory when creating symlinks, so don't. [ YOCTO #10985 ] (From OE-Core rev: 64d75438955c39e01187e897e9df47c93ac6c45a) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/dbus/dbus_1.10.14.bb b/meta/recipes-core/dbus/dbus_1.10.14.bb index e4f54ec7341..f50aff89b76 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