diff mbox series

[meta-networking,5/5] cim-schema: Upgrade docs/final 2.40.0 and exper 2.50.0 -> 2.56.0

Message ID 20261202060605.3378483-6-khem.raj@oss.qualcomm.com
State New
Headers show
Series Fix broken upstream version checks in meta-networking | expand

Commit Message

Khem Raj Dec. 2, 2026, 6:06 a.m. UTC
2.56.0 is the latest DMTF CIM Schema release; the MOF archives keep the
same layout (top-level cim_schema_<PV>.mof plus per-area directories).
Derive the cim_schema_vNNNN download directory from PV and drop the
deprecated md5sum entries.

dmtf.org only links the releases as cim_schema_vNNNN, so the recipes
stay UPSTREAM_VERSION_UNKNOWN and need manual tracking.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../{cim-schema-docs_2.40.0.bb => cim-schema-docs_2.56.0.bb} | 5 ++---
 ...cim-schema-exper_2.50.0.bb => cim-schema-exper_2.56.0.bb} | 5 ++---
 ...cim-schema-final_2.40.0.bb => cim-schema-final_2.56.0.bb} | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)
 rename meta-networking/recipes-support/cim-schema/{cim-schema-docs_2.40.0.bb => cim-schema-docs_2.56.0.bb} (63%)
 rename meta-networking/recipes-support/cim-schema/{cim-schema-exper_2.50.0.bb => cim-schema-exper_2.56.0.bb} (76%)
 rename meta-networking/recipes-support/cim-schema/{cim-schema-final_2.40.0.bb => cim-schema-final_2.56.0.bb} (77%)
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.56.0.bb
similarity index 63%
rename from meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb
rename to meta-networking/recipes-support/cim-schema/cim-schema-docs_2.56.0.bb
index ea4a480875..fb1b101fc7 100644
--- a/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb
+++ b/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.56.0.bb
@@ -4,11 +4,10 @@  SECTION = "doc"
 
 LICENSE = "LicenseRef-DMTF"
 
-SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_${PV}Final-Doc.zip;subdir=${BP} \
+SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v${@d.getVar('PV').replace('.', '')}/cim_schema_${PV}Final-Doc.zip;subdir=${BP} \
            file://LICENSE \
           "
-SRC_URI[md5sum] = "3d01940bc1085c6c42184c25fb61f739"
-SRC_URI[sha256sum] = "3174cf0f8657b19d80dc59e184778d8e553da424728cb2966fe9d5428dd84267"
+SRC_URI[sha256sum] = "1ed1ffee8e131dc06914b302c7d6753abc3205bb4d2047d428f1a1a2aeee7347"
 LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4"
 
 do_install() {
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.50.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.56.0.bb
similarity index 76%
rename from meta-networking/recipes-support/cim-schema/cim-schema-exper_2.50.0.bb
rename to meta-networking/recipes-support/cim-schema/cim-schema-exper_2.56.0.bb
index 041702795d..bcbc47e0eb 100644
--- a/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.50.0.bb
+++ b/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.56.0.bb
@@ -4,11 +4,10 @@  LICENSE = "LicenseRef-DMTF"
 
 RCONFLICTS:${PN} = "cim-schema-final"
 
-SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2500/cim_schema_${PV}Experimental-MOFs.zip;subdir=${BPN}-${PV} \
+SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v${@d.getVar('PV').replace('.', '')}/cim_schema_${PV}Experimental-MOFs.zip;subdir=${BPN}-${PV} \
     file://LICENSE \
 "
-SRC_URI[md5sum] = "ee4ad6441a2b65ca60a3abc53e3ec629"
-SRC_URI[sha256sum] = "a44d67881325e267ef46b72eabe0c69f90470b1033b1ce7c26d9ba99072adb50"
+SRC_URI[sha256sum] = "7891835bd21e18fca55a3405cf778a1d020ac7aa958647a2f9ee13c71f6d4a71"
 LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4"
 
 do_install() {
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.56.0.bb
similarity index 77%
rename from meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
rename to meta-networking/recipes-support/cim-schema/cim-schema-final_2.56.0.bb
index 21462ab11f..9b016c4dd8 100644
--- a/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
+++ b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.56.0.bb
@@ -4,11 +4,10 @@  LICENSE = "LicenseRef-DMTF"
 
 RCONFLICTS:${PN} = "cim-schema-exper"
 
-SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_${PV}Final-MOFs.zip;subdir=${BP} \
+SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v${@d.getVar('PV').replace('.', '')}/cim_schema_${PV}Final-MOFs.zip;subdir=${BP} \
     file://LICENSE \
 "
-SRC_URI[md5sum] = "a9bdf17c7374e3b5b7adeaac4842c4ad"
-SRC_URI[sha256sum] = "dbfa3064ea427acd71a4bebbc172ca2dc44b0b09a6d83b0945b9ffa988a9058a"
+SRC_URI[sha256sum] = "d9404fb8204e718da4b7e6a9216127b0f213b6caaed6d617e8f1cf3134c098ec"
 LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4"
 
 do_install() {