From 41665fc3cc0624afa803dbff779d9bda0dd53d3a Mon Sep 17 00:00:00 2001 From: LakshminarayananShenbagaraj <166714137+LakshminarayananShenbagaraj@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:45:25 +0100 Subject: [PATCH] CMFSUPPORT-1790 : Open sourcing IPOE health check component. (#16) * CMFSUPPORT-1790 : Open sourcing IPOE health check component. Reason for change: Initial version of IPOEHealthCheck component movement from gerrit to github. Test Procedure: 1. Build should pass Risks: Medium Signed-off-by: Lakshminarayanan <lakshminarayanan.shenbagaraj2@sky.uk> * Updated latest release version of IPOE health check v1.0.0. Signed-off-by: Lakshminarayanan <lakshminarayanan.shenbagaraj2@sky.uk> * Updated WANManager v2.3.0 and GPONManager v1.1.0 on the respective receipes. Signed-off-by: Lakshminarayanan <lakshminarayanan.shenbagaraj2@sky.uk> --------- Signed-off-by: Lakshminarayanan <lakshminarayanan.shenbagaraj2@sky.uk> --- recipes-ccsp/ccsp/rdk-wanmanager.bb | 2 +- recipes-ccsp/ccsp/rdkgponmanager.bb | 2 +- .../ipoe-health-check/ipoe-health-check.bb | 28 +++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 recipes-support/ipoe-health-check/ipoe-health-check.bb diff --git a/recipes-ccsp/ccsp/rdk-wanmanager.bb b/recipes-ccsp/ccsp/rdk-wanmanager.bb index d76d3fb..214a797 100644 --- a/recipes-ccsp/ccsp/rdk-wanmanager.bb +++ b/recipes-ccsp/ccsp/rdk-wanmanager.bb @@ -8,7 +8,7 @@ DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'rdkb_wan_manager', ' require recipes-ccsp/ccsp/ccsp_common.inc -GIT_TAG = "v2.2.0" +GIT_TAG = "v2.3.0" SRC_URI := "git://github.com/rdkcentral/RdkWanManager.git;branch=main;protocol=https;name=WanManager;tag=${GIT_TAG}" PV = "${GIT_TAG}+git${SRCPV}" diff --git a/recipes-ccsp/ccsp/rdkgponmanager.bb b/recipes-ccsp/ccsp/rdkgponmanager.bb index e1577ac..ca27e66 100644 --- a/recipes-ccsp/ccsp/rdkgponmanager.bb +++ b/recipes-ccsp/ccsp/rdkgponmanager.bb @@ -7,7 +7,7 @@ DEPENDS = "ccsp-common-library dbus rdk-logger utopia hal-platform json-hal-lib" require recipes-ccsp/ccsp/ccsp_common.inc -GIT_TAG = "v1.0.0" +GIT_TAG = "v1.1.0" SRC_URI = "git://github.com/rdkcentral/RdkGponManager.git;branch=main;protocol=https;name=GponManager;tag=${GIT_TAG}" PV = "${GIT_TAG}+git${SRCPV}" EXTRA_OECONF_append = " --with-ccsp-platform=bcm --with-ccsp-arch=arm " diff --git a/recipes-support/ipoe-health-check/ipoe-health-check.bb b/recipes-support/ipoe-health-check/ipoe-health-check.bb new file mode 100644 index 0000000..f0f854b --- /dev/null +++ b/recipes-support/ipoe-health-check/ipoe-health-check.bb @@ -0,0 +1,28 @@ +SUMMARY = "IPoE Health Check component" + +LICENSE = "Apache-2.0" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=175792518e4ac015ab6696d16c4f607e" + +DEPENDS = "rdk-logger rdk-wanmanager" + +GIT_TAG = "v1.0.0" +SRC_URI := "git://github.com/rdkcentral/IPOEHealthCheck.git;branch=main;protocol=https;name=IPoEHealthCheck;tag=${GIT_TAG}" +PV = "${GIT_TAG}+git${SRCPV}" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +CFLAGS_append = " \ + -I${STAGING_INCDIR} \ + -I${STAGING_INCDIR}/ccsp \ + -I ${STAGING_INCDIR}/syscfg \ + -I ${STAGING_INCDIR}/sysevent \ + " + +CFLAGS_append += " ${@bb.utils.contains('DISTRO_FEATURES', 'feature_mapt', '-DFEATURE_MAPT', '', d)}" + +FILES_${PN} = " \ + ${bindir}/ipoe_health_check \ +"