The bitbake recipe has style guide at
https://www.openembedded.org/wiki/Styleguide
In do_install
Don't use mkdir to create destination directories,
use install -d instead.
Bug-AGL: SPEC-4401
Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: If5a9331532d9777cad1c0f55d8a1105932e97872
# Execute these manually on behalf of systemctl script (from systemd-systemctl-native.bb)
# because it does not support systemd's user mode.
- mkdir -p ${D}${sysconfdir}/systemd/user/default.target.wants/
+ install -d ${D}${sysconfdir}/systemd/user/default.target.wants/
ln -sf ${systemd_user_unitdir}/dbus.socket ${D}${sysconfdir}/systemd/user/default.target.wants/dbus.socket
fi
fi