summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Krause <bst@pengutronix.de>2025-10-29 18:19:13 +0100
committerKhem Raj <raj.khem@gmail.com>2025-10-29 21:02:20 -0700
commit5f7dbf36e2353cac6b8c05400316cf1bbd42acfd (patch)
treef7ae712b6b92e1e6dfeb944b0da74a4f53a5d6ff
parentd9ca35948c41f3bbbbe04d3cf6981b2e10db6104 (diff)
downloadmeta-openembedded-5f7dbf36e2353cac6b8c05400316cf1bbd42acfd.tar.gz
chrony: upgrade 4.7 -> 4.8
0001-Fix-compilation-with-musl.patch is obsolete due to 948ecf8 ("hash: include util.h for MIN macro") included in chrony since version 3.5. From chrony's NEWS [1] for the 4.8 release: Enhancements ------------ * Add maxunreach option to limit selection of unreachable sources * Add -u option to chronyc to drop root privileges (default chronyc user is set by configure script) Bug fixes --------- * Hide chronyc socket to mitigate unsafe permissions change * Fix refclock extpps option to work on Linux >= 6.15 * Validate refclock samples for reachability updates [1] https://chrony-project.org/news.html Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch31
-rw-r--r--meta-networking/recipes-support/chrony/chrony_4.8.bb (renamed from meta-networking/recipes-support/chrony/chrony_4.7.bb)5
2 files changed, 1 insertions, 35 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch b/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch
deleted file mode 100644
index 5e2bc64af3..0000000000
--- a/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 11ec10cdb5ab4b94c5999e018a9c854419997761 Mon Sep 17 00:00:00 2001
2From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
3Date: Wed, 10 Apr 2019 03:18:17 +0200
4Subject: [PATCH] Fix compilation with musl
5
6Fixes:
7../hash_intmd5.c:58: undefined reference to `MIN'
8
9Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
10---
11Upstream-Status: Pending
12
13 hash_intmd5.c | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/hash_intmd5.c b/hash_intmd5.c
17index 49da1cf..47efe4c 100644
18--- a/hash_intmd5.c
19+++ b/hash_intmd5.c
20@@ -33,6 +33,8 @@
21
22 #include "md5.c"
23
24+#include <sys/param.h>
25+
26 static MD5_CTX ctx;
27
28 int
29--
302.17.1
31
diff --git a/meta-networking/recipes-support/chrony/chrony_4.7.bb b/meta-networking/recipes-support/chrony/chrony_4.8.bb
index 0af542869e..826bffc323 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.7.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.8.bb
@@ -36,10 +36,7 @@ SRC_URI = "https://chrony-project.org/releases/chrony-${PV}.tar.gz \
36 file://arm_eabi.patch \ 36 file://arm_eabi.patch \
37" 37"
38 38
39SRC_URI:append:libc-musl = " \ 39SRC_URI[sha256sum] = "33ea8eb2a4daeaa506e8fcafd5d6d89027ed6f2f0609645c6f149b560d301706"
40 file://0001-Fix-compilation-with-musl.patch \
41"
42SRC_URI[sha256sum] = "c0de41a8c051e5d32b101b5f7014b98ca978b18e592f30ce6840b6d4602d947b"
43 40
44DEPENDS = "pps-tools" 41DEPENDS = "pps-tools"
45 42