From f28a8611b7d21374ef0bf4f5adc769730a93f0d0 Mon Sep 17 00:00:00 2001 From: Thomas Roos Date: Thu, 19 Dec 2024 14:41:51 +0000 Subject: [PATCH] greengrass-lite: fix ptest for greengrass-bin, 2nd try (cherry picked from commit d7660845bc6d6a61979e5c4c1b4e829c77e6c3ef) --- recipes-iot/aws-iot-greengrass/greengrass-lite/run-ptest | 1 + recipes-iot/aws-iot-greengrass/greengrass-lite_2.0.0.bb | 1 + 2 files changed, 2 insertions(+) diff --git a/recipes-iot/aws-iot-greengrass/greengrass-lite/run-ptest b/recipes-iot/aws-iot-greengrass/greengrass-lite/run-ptest index cd98b2750..f04a290cf 100644 --- a/recipes-iot/aws-iot-greengrass/greengrass-lite/run-ptest +++ b/recipes-iot/aws-iot-greengrass/greengrass-lite/run-ptest @@ -3,6 +3,7 @@ set -euxo pipefail # this has been disabled cause this has issues with greengrass-bin systemctl enable ggl.gg-ipc.socket.socket +systemctl enable ggl.ipc_component.socket systemctl start greengrass-lite.target # settle time diff --git a/recipes-iot/aws-iot-greengrass/greengrass-lite_2.0.0.bb b/recipes-iot/aws-iot-greengrass/greengrass-lite_2.0.0.bb index 1d7933c35..25b04c993 100644 --- a/recipes-iot/aws-iot-greengrass/greengrass-lite_2.0.0.bb +++ b/recipes-iot/aws-iot-greengrass/greengrass-lite_2.0.0.bb @@ -125,6 +125,7 @@ do_install:append() { # disable automatic startup of gg-lite, cause this will use the same port as greengrass-bin, conflicting. SYSTEMD_SERVICE:${PN}-ptest:remove = "greengrass-lite.target" SYSTEMD_SERVICE:${PN}-ptest:remove = "ggl.gg-ipc.socket.socket" +SYSTEMD_SERVICE:${PN}-ptest:remove = "ggl.ipc_component.socket" USERADD_PACKAGES = "${PN}" GROUPADD_PARAM:${PN} = "-r ${gg_group}; -r ${ggc_group}"