From b3bb31eee08535ea97560bf6fc0f1d56292fee0a Mon Sep 17 00:00:00 2001 From: duerpei Date: Fri, 13 May 2022 14:32:49 +0800 Subject: [PATCH] Replace "/etc" with "${sysconfidir}" make them more standardized Bug-AGL: SPEC-4374 Signed-off-by: duerpei Change-Id: I869eeef40a539b7fc085ac1cb969e8c4699f131f --- recipes-core/dbus/dbus_agldemo.inc | 4 ++-- recipes-graphics/kms-conf/kms-conf_1.0.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-core/dbus/dbus_agldemo.inc b/recipes-core/dbus/dbus_agldemo.inc index a642d3e7d..193db5df8 100644 --- a/recipes-core/dbus/dbus_agldemo.inc +++ b/recipes-core/dbus/dbus_agldemo.inc @@ -16,8 +16,8 @@ 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}/etc/systemd/user/default.target.wants/ - ln -sf ${systemd_user_unitdir}/dbus.socket ${D}/etc/systemd/user/default.target.wants/dbus.socket + mkdir -p ${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 } diff --git a/recipes-graphics/kms-conf/kms-conf_1.0.bb b/recipes-graphics/kms-conf/kms-conf_1.0.bb index c2ac9c5d2..4a665a49b 100644 --- a/recipes-graphics/kms-conf/kms-conf_1.0.bb +++ b/recipes-graphics/kms-conf/kms-conf_1.0.bb @@ -7,6 +7,6 @@ SRC_URI = " \ " do_install:append() { - install -d ${D}/etc - install -m 644 ${WORKDIR}/kms.conf ${D}/etc + install -d ${D}${sysconfdir} + install -m 644 ${WORKDIR}/kms.conf ${D}${sysconfdir} } -- 2.16.6