gbmc-release-24.1.x: Revert "bare-metal: obmc-console: change the override file location"
This reverts commit fbe3aff741c0786d93613e858ee97895f12b5d99.
Tested: N/A
Google-Bug-Id: 232191934
Change-Id: I718778ddc7e2e5d8fa3f2d52fe3f14e5427a9154
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/recipes-phosphor/console/obmc-console_%.bbappend b/recipes-phosphor/console/obmc-console_%.bbappend
index cf1ed09..a5125e1 100644
--- a/recipes-phosphor/console/obmc-console_%.bbappend
+++ b/recipes-phosphor/console/obmc-console_%.bbappend
@@ -5,13 +5,13 @@
file://40-console-client-override.conf \
"
do_install:append:gbmc() {
- install -d -m0644 ${D}${sysconfdir}/systemd/system/serial-to-host@.service.d/
+ install -d -m0644 ${D}${systemd_system_unitdir}/serial-to-host@.service.d/
install -m0644 ${WORKDIR}/40-console-client-override.conf \
- ${D}${sysconfdir}/systemd/system/serial-to-host@.service.d/
+ ${D}${systemd_system_unitdir}/serial-to-host@.service.d/
- install -d -m0644 ${D}${sysconfdir}/systemd/system/serial-to-bmc@.service.d/
+ install -d -m0644 ${D}${systemd_system_unitdir}/serial-to-bmc@.service.d/
install -m0644 ${WORKDIR}/40-console-client-override.conf \
- ${D}${sysconfdir}/systemd/system/serial-to-bmc@.service.d/
+ ${D}${systemd_system_unitdir}/serial-to-bmc@.service.d/
install -d -m0755 ${D}${libexecdir}
install -m0755 ${WORKDIR}/readonly-obmc-console-client ${D}${libexecdir}/