From eb0faffd70335e38a51ea153f75b6a2c4ac3e3c5 Mon Sep 17 00:00:00 2001 From: duerpei Date: Fri, 27 May 2022 10:59:12 +0800 Subject: 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 --- recipes-core/dbus/dbus_agldemo.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/dbus/dbus_agldemo.inc b/recipes-core/dbus/dbus_agldemo.inc index 193db5df..826584c0 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 -- cgit 1.2.3-korg