From: duerpei Date: Fri, 27 May 2022 02:59:12 +0000 (+0800) Subject: dbus_agldemo: Fix recipe style error X-Git-Tag: 13.91.0~33 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=eb0faffd70335e38a51ea153f75b6a2c4ac3e3c5;p=AGL%2Fmeta-agl-demo.git dbus_agldemo: Fix recipe style error 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 Change-Id: If5a9331532d9777cad1c0f55d8a1105932e97872 --- diff --git a/recipes-core/dbus/dbus_agldemo.inc b/recipes-core/dbus/dbus_agldemo.inc index 193db5df8..826584c05 100644 --- a/recipes-core/dbus/dbus_agldemo.inc +++ b/recipes-core/dbus/dbus_agldemo.inc @@ -16,7 +16,7 @@ do_install:append() { # 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