]> code.ossystems Code Review - openembedded-core.git/commitdiff
dbus: remove pointless cd
authorRoss Burton <ross.burton@intel.com>
Thu, 9 Feb 2017 16:47:21 +0000 (16:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Feb 2017 04:06:30 +0000 (20:06 -0800)
There's no need to cd to the target directory when creating symlinks, so don't.

[ YOCTO #10985 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/dbus/dbus_1.10.14.bb

index e4f54ec734188c17f6e0c64563589ad54554330d..f50aff89b76411d256dd27b1d91c8d13bd476ef0 100644 (file)
@@ -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