From: duerpei Date: Fri, 13 May 2022 06:32:49 +0000 (+0800) Subject: Replace "/etc" with "${sysconfidir}" X-Git-Tag: 13.91.0~38 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=b3bb31eee08535ea97560bf6fc0f1d56292fee0a;p=AGL%2Fmeta-agl-demo.git Replace "/etc" with "${sysconfidir}" make them more standardized Bug-AGL: SPEC-4374 Signed-off-by: duerpei Change-Id: I869eeef40a539b7fc085ac1cb969e8c4699f131f --- 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} }