meta-fii/meta-kudo: follow the new Yocto override syntax change
Changing the syntax for various yocto files ie. (_ to :) changes to
bb, bbappend and conf files.
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
Change-Id: If25577ee9d98398c1a1ab7f85a0373c46af70245
diff --git a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console_%.bbappend b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console_%.bbappend
index 9daae7c..b08aab3 100644
--- a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console_%.bbappend
+++ b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console_%.bbappend
@@ -1,24 +1,24 @@
-FILESEXTRAPATHS_prepend_kudo := "${THISDIR}/${PN}:"
-RDEPENDS_${PN}_append_kudo = " bash"
+FILESEXTRAPATHS:prepend:kudo := "${THISDIR}/${PN}:"
+RDEPENDS:${PN}:append:kudo = " bash"
# Remove what installed by common recipe
OBMC_CONSOLE_HOST_TTY = ""
-SYSTEMD_SUBSTITUTIONS_remove_kudo = " OBMC_CONSOLE_HOST_TTY:${OBMC_CONSOLE_HOST_TTY}:${PN}-ssh@.service"
-SYSTEMD_SUBSTITUTIONS_remove_kudo = " OBMC_CONSOLE_HOST_TTY:${OBMC_CONSOLE_HOST_TTY}:${PN}-ssh.socket"
+SYSTEMD_SUBSTITUTIONS:remove:kudo = " OBMC_CONSOLE_HOST_TTY:${OBMC_CONSOLE_HOST_TTY}:${PN}-ssh@.service"
+SYSTEMD_SUBSTITUTIONS:remove:kudo = " OBMC_CONSOLE_HOST_TTY:${OBMC_CONSOLE_HOST_TTY}:${PN}-ssh.socket"
# Declare port spcific conf and service files
HOST_CONSOLE_TTY = "ttyS1 ttyS3"
CONSOLE_CONF_FMT = "file://server.{0}.conf"
-SRC_URI_append_kudo = " ${@compose_list(d, 'CONSOLE_CONF_FMT', 'HOST_CONSOLE_TTY')}"
-SRC_URI_append_kudo = " file://${BPN}@.service"
-SRC_URI_append_kudo = " file://kudo_uart_mux_ctrl.sh"
+SRC_URI:append:kudo = " ${@compose_list(d, 'CONSOLE_CONF_FMT', 'HOST_CONSOLE_TTY')}"
+SRC_URI:append:kudo = " file://${BPN}@.service"
+SRC_URI:append:kudo = " file://kudo_uart_mux_ctrl.sh"
-SYSTEMD_SERVICE_${PN}_append_kudo = " \
+SYSTEMD_SERVICE:${PN}:append:kudo = " \
${PN}@.service \
"
-do_install_append() {
+do_install:append() {
for i in ${HOST_CONSOLE_TTY}
do
install -m 0644 ${WORKDIR}/server.${i}.conf ${D}${sysconfdir}/${BPN}/server.${i}.conf
@@ -35,7 +35,7 @@
}
-pkg_postinst_${PN}_append () {
+pkg_postinst:${PN}:append () {
systemctl --root=$D enable obmc-console@ttyS1.service
systemctl --root=$D enable obmc-console@ttyS3.service
}