From ab0f8c95567d06d5066f986cbe11cddb2e3ec0fe Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 20 May 2025 16:54:45 +0800 Subject: [PATCH] libyang: upgrade 3.7.8 -> 3.12.2 0001-test_context-skip-test-case-test_searchdirs.patch refreshed for 3.12.2 Changelog: ========== - optional xxhash faster hasing function - support for metadata in diff - lots of optimizations and fixes Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...001-test_context-skip-test-case-test_searchdirs.patch | 9 +++------ .../libyang/{libyang_3.7.8.bb => libyang_3.12.2.bb} | 4 ++-- 2 files changed, 5 insertions(+), 8 deletions(-) rename meta-oe/recipes-extended/libyang/{libyang_3.7.8.bb => libyang_3.12.2.bb} (95%) diff --git a/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch b/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch index 3c6aee9247..70890e2485 100644 --- a/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch +++ b/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch @@ -1,4 +1,4 @@ -From 5de24e1b39c09adb0c5bf4bb4228bd1bb935542a Mon Sep 17 00:00:00 2001 +From 24ec37bfe5c4c248dda0e80d6e7ab27afca1d60e Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Wed, 22 Mar 2023 16:03:56 +0800 Subject: [PATCH] test_context: skip test case test_searchdirs @@ -13,10 +13,10 @@ Signed-off-by: Yi Zhao 1 file changed, 1 deletion(-) diff --git a/tests/utests/basic/test_context.c b/tests/utests/basic/test_context.c -index cfba1d30f..8c3bb7ad6 100644 +index 116b2ce36..4e96f4e96 100644 --- a/tests/utests/basic/test_context.c +++ b/tests/utests/basic/test_context.c -@@ -1061,7 +1061,6 @@ int +@@ -1110,7 +1110,6 @@ int main(void) { const struct CMUnitTest tests[] = { @@ -24,6 +24,3 @@ index cfba1d30f..8c3bb7ad6 100644 UTEST(test_options), UTEST(test_models), UTEST(test_imports), --- -2.25.1 - diff --git a/meta-oe/recipes-extended/libyang/libyang_3.7.8.bb b/meta-oe/recipes-extended/libyang/libyang_3.12.2.bb similarity index 95% rename from meta-oe/recipes-extended/libyang/libyang_3.7.8.bb rename to meta-oe/recipes-extended/libyang/libyang_3.12.2.bb index 3bea9bc2b8..ea51f6cb14 100644 --- a/meta-oe/recipes-extended/libyang/libyang_3.7.8.bb +++ b/meta-oe/recipes-extended/libyang/libyang_3.12.2.bb @@ -6,9 +6,9 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=9bb3d334294e8719f41c531e28a9a697" -SRCREV = "03e294d83b610f89e8ba7b2156a80dc0ad534443" +SRCREV = "da7272e19d9e27d1bfdd68108fa9dce25fbdf5e8" -SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https \ +SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https;tag=v${PV} \ file://0001-test_context-skip-test-case-test_searchdirs.patch \ file://run-ptest \ "