diff options
author | Scott Murray <scott.murray@konsulko.com> | 2024-05-30 14:12:49 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2024-05-31 15:11:05 +0000 |
commit | d4e1f1dae34355d626313b911632182d3f3af31d (patch) | |
tree | 9fa9fd7fda08c0da7d0d77080e6c0fc7978e849f /recipes-demo | |
parent | 2436c1819e8e16fc80a6805c363f1b5ad5b269ac (diff) |
flutter-cluster-dashboard: fix KVM demo configurationsquillback_17.1.1quillback_17.1.0quillback/17.1.1quillback/17.1.017.1.117.1.0
While reviewing things to document them, I realized thath the
flutter-cluster-dashboard configuration for the plain KVM demo
image was incorrect, and that a separate configuration was
required for the preconfigured demo image where the databroker
runs on the KVM host. This fixes the existing configuration
file, adds a new one, and updates the corresponding preconfigured
guest image.
Bug-AGL: SPEC-5138
Change-Id: Ib24d3e1e5018efffce1bc820a7fd4f26ac38ddd6
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29957
ci-image-boot-test: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
Tested-by: Jenkins Job builder account
Diffstat (limited to 'recipes-demo')
3 files changed, 14 insertions, 1 deletions
diff --git a/recipes-demo/flutter-cluster-dashboard/files/cluster-dashboard.yaml.kvm-demo b/recipes-demo/flutter-cluster-dashboard/files/cluster-dashboard.yaml.kvm-demo index 9267b4d40..17e5888e8 100644 --- a/recipes-demo/flutter-cluster-dashboard/files/cluster-dashboard.yaml.kvm-demo +++ b/recipes-demo/flutter-cluster-dashboard/files/cluster-dashboard.yaml.kvm-demo @@ -1,4 +1,4 @@ -hostname: 172.16.10.1 +hostname: 172.16.10.2 authorization : "/etc/xdg/AGL/cluster-dashboard/cluster-dashboard.token" use-tls : true tls-server-name : "localhost" diff --git a/recipes-demo/flutter-cluster-dashboard/files/cluster-dashboard.yaml.kvm-demo-preconfigured b/recipes-demo/flutter-cluster-dashboard/files/cluster-dashboard.yaml.kvm-demo-preconfigured new file mode 100644 index 000000000..9267b4d40 --- /dev/null +++ b/recipes-demo/flutter-cluster-dashboard/files/cluster-dashboard.yaml.kvm-demo-preconfigured @@ -0,0 +1,4 @@ +hostname: 172.16.10.1 +authorization : "/etc/xdg/AGL/cluster-dashboard/cluster-dashboard.token" +use-tls : true +tls-server-name : "localhost" 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 ebbb0d0ee..999ec2513 100644 --- a/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb +++ b/recipes-demo/flutter-cluster-dashboard/flutter-cluster-dashboard_git.bb @@ -15,6 +15,7 @@ SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/flutter-instrument-clust file://cluster-dashboard.yaml.demo \ file://cluster-dashboard.yaml.gateway-demo \ file://cluster-dashboard.yaml.kvm-demo \ + file://cluster-dashboard.yaml.kvm-demo-preconfigured \ file://cluster-dashboard.token \ file://kvm.conf \ " @@ -46,6 +47,7 @@ do_install:append() { install -m 0644 ${WORKDIR}/cluster-dashboard.yaml.demo ${D}${sysconfdir}/xdg/AGL/ install -m 0644 ${WORKDIR}/cluster-dashboard.yaml.gateway-demo ${D}${sysconfdir}/xdg/AGL/ install -m 0644 ${WORKDIR}/cluster-dashboard.yaml.kvm-demo ${D}${sysconfdir}/xdg/AGL/ + install -m 0644 ${WORKDIR}/cluster-dashboard.yaml.kvm-demo-preconfigured ${D}${sysconfdir}/xdg/AGL/ install -m 0644 ${WORKDIR}/cluster-dashboard.token ${D}${sysconfdir}/xdg/AGL/cluster-dashboard/ } @@ -87,3 +89,10 @@ RDEPENDS:${PN}-conf-kvm-demo = "${PN} ${PN}-conf-kvm" RPROVIDES:${PN}-conf-kvm-demo = "cluster-dashboard.yaml" ALTERNATIVE:${PN}-conf-kvm-demo = "cluster-dashboard.yaml" ALTERNATIVE_TARGET_${PN}-conf-kvm-demo = "${sysconfdir}/xdg/AGL/cluster-dashboard.yaml.kvm-demo" + +PACKAGE_BEFORE_PN += "${PN}-conf-kvm-demo-preconfigured" +FILES:${PN}-conf-kvm-demo-preconfigured += "${sysconfdir}/xdg/AGL/cluster-dashboard.yaml.kvm-demo-preconfigured" +RDEPENDS:${PN}-conf-kvm-demo-preconfigured = "${PN} ${PN}-conf-kvm" +RPROVIDES:${PN}-conf-kvm-demo-preconfigured = "cluster-dashboard.yaml" +ALTERNATIVE:${PN}-conf-kvm-demo-preconfigured = "cluster-dashboard.yaml" +ALTERNATIVE_TARGET_${PN}-conf-kvm-demo-preconfigured = "${sysconfdir}/xdg/AGL/cluster-dashboard.yaml.kvm-demo-preconfigured" |