From 57e15b1d5cf7749e6bd01c3ef484689f4191d51e Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Thu, 25 Mar 2021 15:40:46 -0400 Subject: meta-phosphor: use systemd_system_unitdir This variable was added to bitbake.conf so lets use it. Using it is best pratice and enables things like alternative base_libdir paths. Change-Id: I181d12e02ca7918614dacec68bd8e033932eb0ab Signed-off-by: Brad Bishop --- meta-phosphor/recipes-support/rng-tools/rng-tools_%.bbappend | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta-phosphor/recipes-support/rng-tools') diff --git a/meta-phosphor/recipes-support/rng-tools/rng-tools_%.bbappend b/meta-phosphor/recipes-support/rng-tools/rng-tools_%.bbappend index ce5d7994b..e9577eb5d 100644 --- a/meta-phosphor/recipes-support/rng-tools/rng-tools_%.bbappend +++ b/meta-phosphor/recipes-support/rng-tools/rng-tools_%.bbappend @@ -8,7 +8,7 @@ PACKAGECONFIG_remove = "\ inherit systemd -FILES_${PN} += "${systemd_unitdir}/system/rngd.service.d" +FILES_${PN} += "${systemd_system_unitdir}/rngd.service.d" do_install_append() { @@ -18,9 +18,9 @@ do_install_append() { # go slower. if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then if ${@bb.utils.contains('PACKAGECONFIG', 'libjitterentropy', 'true', 'false', d)}; then - install -d ${D}${systemd_unitdir}/system/rngd.service.d + install -d ${D}${systemd_system_unitdir}/rngd.service.d install -m 644 ${WORKDIR}/10-nice.conf \ - ${D}${systemd_unitdir}/system/rngd.service.d + ${D}${systemd_system_unitdir}/rngd.service.d fi fi } -- cgit v1.2.3