diff mbox series

[V2,2/4] systemd: set UPSTREAM_STABLE_RELEASE_REGEX

Message ID 20260507062010.1461027-2-Qi.Chen@windriver.com
State Under Review
Headers show
Series [V2,1/4] recipeutils: add optional stable_upgrade parameter to get_recipe_upgrade_status | expand

Commit Message

Chen, Qi May 7, 2026, 6:20 a.m. UTC
From: Chen Qi <Qi.Chen@windriver.com>

For systemd, 259.1 -> 259.2 is a stable upgrade.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/systemd/systemd.inc | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc
index f107c4c5da..292520e6ae 100644
--- a/meta/recipes-core/systemd/systemd.inc
+++ b/meta/recipes-core/systemd/systemd.inc
@@ -26,3 +26,6 @@  CVE_STATUS[CVE-2026-40223] = "fixed-version: fixed in 259.2"
 CVE_STATUS[CVE-2026-40224] = "fixed-version: fixed in 259.3"
 CVE_STATUS[CVE-2026-40225] = "fixed-version: fixed in 259.5"
 CVE_STATUS[CVE-2026-40226] = "fixed-version: fixed in 259.4"
+
+MAJMIN_VERSION = "${@d.getVar('PV').split('.')[0]}"
+UPSTREAM_STABLE_RELEASE_REGEX = "${MAJMIN_VERSION}\.\d"