From e7364813bfc25a2b6e6905dba2645eca01c70e83 Mon Sep 17 00:00:00 2001 From: "RoseMary_Benny@comcast.com" Date: Thu, 4 Jun 2026 16:39:04 +0530 Subject: [PATCH 1/2] RDKEMW-19246 : Enable firmware-independent OTA Updates for MemInsight --- recipes-devtools/meminsight/files/package.json | 9 +++++++++ recipes-devtools/meminsight/files/start_meminsight.sh | 11 ++++++++--- recipes-devtools/meminsight/meminsight_git.bb | 1 + recipes-support/rdmagent/rdmagent.bb | 4 ++-- 4 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 recipes-devtools/meminsight/files/package.json diff --git a/recipes-devtools/meminsight/files/package.json b/recipes-devtools/meminsight/files/package.json new file mode 100644 index 000000000..fb1085d68 --- /dev/null +++ b/recipes-devtools/meminsight/files/package.json @@ -0,0 +1,9 @@ +{ +  "name": "meminsight", +  "description": "Performance Monitoring tool - meminsight", +  "version": "1.0.0", +  "contents": ["meminsight-pkg.tar"], +  "size": "72K", + "installScript": "/etc/rdm/post-services/start_meminsight.sh" +} + diff --git a/recipes-devtools/meminsight/files/start_meminsight.sh b/recipes-devtools/meminsight/files/start_meminsight.sh index f6449029c..c11497c56 100644 --- a/recipes-devtools/meminsight/files/start_meminsight.sh +++ b/recipes-devtools/meminsight/files/start_meminsight.sh @@ -18,9 +18,6 @@ # limitations under the License. ########################################################################## -SRC_BIN="/media/apps/meminsight/usr/bin/meminsight" -DST_BIN="/run/meminsight/usr/bin/meminsight" -RFC_PARAM="Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.meminsight.Trigger" # Load DEVICE_TYPE if [ -f /etc/device.properties ]; then @@ -44,6 +41,14 @@ case "$DEVICE_TYPE" in ;; esac +APP_HOME_DIR=/media/apps/${MODEL_NUM}-meminsight +rm -rf /media/apps/meminsight +ln -snf "$APP_HOME_DIR" /media/apps/meminsight + +SRC_BIN="/media/apps/meminsight/usr/bin/meminsight" +DST_BIN="/run/meminsight/usr/bin/meminsight" +RFC_PARAM="Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.meminsight.Trigger" + log_info() { echo "[start_meminsight] [INFO] $*" >> $RDM_LOG_FILE } diff --git a/recipes-devtools/meminsight/meminsight_git.bb b/recipes-devtools/meminsight/meminsight_git.bb index 93d6399d4..03d92a654 100644 --- a/recipes-devtools/meminsight/meminsight_git.bb +++ b/recipes-devtools/meminsight/meminsight_git.bb @@ -18,6 +18,7 @@ SRC_URI:append = " file://meminsight-runner.service \ file://meminsight-upload.service \ file://meminsight-upload.path \ file://upload_MemReports.sh \ + file://package.json \ " # May 25, 2026 diff --git a/recipes-support/rdmagent/rdmagent.bb b/recipes-support/rdmagent/rdmagent.bb index e7c2af610..23e398a09 100644 --- a/recipes-support/rdmagent/rdmagent.bb +++ b/recipes-support/rdmagent/rdmagent.bb @@ -8,14 +8,14 @@ DEPENDS += "rbus" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=8700a1d105cac2a90d4f51290ac6e466" -PV = "2.2.2" +PV = "2.3.0" PR = "r0" PACKAGE_ARCH = "${MIDDLEWARE_ARCH}" # This tells bitbake where to find the files we're providing on the local filesystem FILESEXTRAPATHS:prepend := "${THISDIR}:" -SRCREV = "871e274c8b531bfce3c242f46b1a16c8f2609463" +SRCREV = "069aaab56ce56cc6c9695c1bab860abfa7162260" SRC_URI = "${CMF_GITHUB_ROOT}/rdm-agent;${CMF_GITHUB_SRC_URI_SUFFIX};name=rdmagent" SRCREV_FORMAT = "rdmagent" From 1bb6b97c6b11803bb57becfdc4577c3ccdcb8b99 Mon Sep 17 00:00:00 2001 From: rosemarybennyy Date: Fri, 5 Jun 2026 15:00:33 +0530 Subject: [PATCH 2/2] Update package.json --- recipes-devtools/meminsight/files/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/meminsight/files/package.json b/recipes-devtools/meminsight/files/package.json index fb1085d68..1a57eddee 100644 --- a/recipes-devtools/meminsight/files/package.json +++ b/recipes-devtools/meminsight/files/package.json @@ -1,5 +1,5 @@ { -  "name": "meminsight", +  "name": "meminsight-app",   "description": "Performance Monitoring tool - meminsight",   "version": "1.0.0",   "contents": ["meminsight-pkg.tar"],