From a3275fc462bc579225f8eeb19e665dd60cdff916 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 20 Feb 2024 16:05:48 -0500 Subject: Cluster support fixes Changes: - Rename CLUSTER_DEMO_VISS_HOSTNAME to CLUSTER_DEMO_VSS_HOSTNAME since we're not using VISS at this point. - Change TRANSMITTER_OUTPUT_HOST to REMOTING_OUTPUT_HOST in KVM demo configuration to match change previously made in the weston-ini-conf recipe in meta-agl. Bug-AGL: SPEC-5086 Change-Id: Id5a7ab5fab9b19786b4eeb743a06c71693e0a0da Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29703 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller (cherry picked from commit 3a9e158c460049d3197f66d24986ff1c09819cba) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29758 --- conf/include/agl-kvm.inc | 4 ++-- recipes-demo/cluster-dashboard/cluster-dashboard_git.bb | 4 ++-- .../flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/include/agl-kvm.inc b/conf/include/agl-kvm.inc index 12d8ae191..fadb345df 100644 --- a/conf/include/agl-kvm.inc +++ b/conf/include/agl-kvm.inc @@ -6,10 +6,10 @@ AGL_FEATURES:append = " agl-kvm" # Override remote display network configuration to use KVM demo's # network configuration -TRANSMITTER_OUTPUT_HOST = "172.16.10.3" +REMOTING_OUTPUT_HOST = "172.16.10.3" # Override cluster dashboard VIS server host for KVM demo's network # configuration -CLUSTER_DEMO_VISS_HOSTNAME = "172.16.10.2" +CLUSTER_DEMO_VSS_HOSTNAME = "172.16.10.1" include mc-conf-${BB_CURRENT_MC}.inc diff --git a/recipes-demo/cluster-dashboard/cluster-dashboard_git.bb b/recipes-demo/cluster-dashboard/cluster-dashboard_git.bb index fc0b35cdb..dd0e411a3 100644 --- a/recipes-demo/cluster-dashboard/cluster-dashboard_git.bb +++ b/recipes-demo/cluster-dashboard/cluster-dashboard_git.bb @@ -28,7 +28,7 @@ S = "${WORKDIR}/git" inherit pkgconfig cmake_qt5 systemd -CLUSTER_DEMO_VISS_HOSTNAME ??= "192.168.10.2" +CLUSTER_DEMO_VSS_HOSTNAME ??= "192.168.10.2" SYSTEMD_SERVICE:${PN} = "${BPN}.service" @@ -41,7 +41,7 @@ do_install:append() { # something like OAuth is plumbed in as an alternative. install -d ${D}${sysconfdir}/xdg/AGL/cluster-dashboard install -m 0644 ${WORKDIR}/cluster-dashboard.conf ${D}${sysconfdir}/xdg/AGL/ - sed -i "s/^server = .*/server = \"${CLUSTER_DEMO_VISS_HOSTNAME}\"/" ${D}${sysconfdir}/xdg/AGL/cluster-dashboard.conf + sed -i "s/^server = .*/server = \"${CLUSTER_DEMO_VSS_HOSTNAME}\"/" ${D}${sysconfdir}/xdg/AGL/cluster-dashboard.conf install -m 0644 ${WORKDIR}/cluster-dashboard.token ${D}${sysconfdir}/xdg/AGL/cluster-dashboard/ } diff --git a/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb b/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb index c45e28084..45cb5c449 100644 --- a/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb +++ b/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb @@ -28,7 +28,7 @@ FLUTTER_APPLICATION_INSTALL_PREFIX = "/flutter" inherit flutter-app update-alternatives systemd -CLUSTER_DEMO_VISS_HOSTNAME ??= "192.168.10.2" +CLUSTER_DEMO_VSS_HOSTNAME ??= "192.168.10.2" APP_CONFIG = "flutter_cluster_dashboard_on_bg.json" @@ -44,7 +44,7 @@ do_install:append() { install -d ${D}${sysconfdir}/xdg/AGL/cluster-dashboard install -m 0644 ${WORKDIR}/cluster-dashboard.yaml ${D}${sysconfdir}/xdg/AGL/cluster-dashboard.yaml.default install -m 0644 ${WORKDIR}/cluster-dashboard.yaml.demo ${D}${sysconfdir}/xdg/AGL/ - sed -i "s/^hostname: .*/hostname: ${CLUSTER_DEMO_VISS_HOSTNAME}/" ${D}${sysconfdir}/xdg/AGL/cluster-dashboard.yaml.demo + sed -i "s/^hostname: .*/hostname: ${CLUSTER_DEMO_VSS_HOSTNAME}/" ${D}${sysconfdir}/xdg/AGL/cluster-dashboard.yaml.demo install -m 0644 ${WORKDIR}/cluster-dashboard.token ${D}${sysconfdir}/xdg/AGL/cluster-dashboard/ } -- cgit 1.2.3-korg