Fix build issue in bluez5 bbappend file 59/24259/3
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 18 Mar 2020 18:37:06 +0000 (19:37 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 18 Mar 2020 21:34:57 +0000 (21:34 +0000)
The commit b1c5541c2 introduced a 'mkdir -p ${systemd_system_unitdir}'
which should be prefixed with ${D}.

It produces a build error (permission denied on do_install).

Fix it.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ife8b374379937e87cf3c045f105c3eb121f0941d

meta-agl-profile-core/recipes-connectivity/bluez5/bluez5_%.bbappend

index db5b095..55459c1 100644 (file)
@@ -19,7 +19,7 @@ do_install_append() {
         install -m 0644 ${WORKDIR}/tmpdir.conf ${D}${systemd_user_unitdir}/obex.service.d/tmpdir.conf
         mkdir -p ${D}/etc/systemd/user
         ln -sf ${systemd_user_unitdir}/obex.service ${D}/etc/systemd/user/dbus-org.bluez.obex.service
-        mkdir -p ${systemd_system_unitdir}
+        mkdir -p ${D}${systemd_system_unitdir}
         install -m 0644 ${WORKDIR}/bluetooth.service ${D}${systemd_system_unitdir}
     fi
 }