summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/chrony/chrony/arm_eabi.patch17
-rw-r--r--meta-networking/recipes-support/chrony/chrony_3.3.bb (renamed from meta-networking/recipes-support/chrony/chrony_3.2.bb)4
2 files changed, 15 insertions, 6 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony/arm_eabi.patch b/meta-networking/recipes-support/chrony/chrony/arm_eabi.patch
index 92a2dbd93..9f943cdce 100644
--- a/meta-networking/recipes-support/chrony/chrony/arm_eabi.patch
+++ b/meta-networking/recipes-support/chrony/chrony/arm_eabi.patch
@@ -1,4 +1,7 @@
1 chrony: fix build failure for arma9 1From 9ca48a6fef1da1bb0dd67ab94256c7e240da1834 Mon Sep 17 00:00:00 2001
2From: Joe Slater <jslater@windriver.com>
3Date: Thu, 9 Mar 2017 10:58:06 -0800
4Subject: [PATCH] chrony: fix build failure for arma9
2 5
3 Eliminate references to syscalls not available 6 Eliminate references to syscalls not available
4 for ARM_EABI. Also add a dependency on libseccomp 7 for ARM_EABI. Also add a dependency on libseccomp
@@ -16,9 +19,15 @@
16 19
17 Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> 20 Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
18 21
22---
23 sys_linux.c | 19 +++++++++++++------
24 1 file changed, 13 insertions(+), 6 deletions(-)
25
26diff --git a/sys_linux.c b/sys_linux.c
27index f4b532d..d05fa24 100644
19--- a/sys_linux.c 28--- a/sys_linux.c
20+++ b/sys_linux.c 29+++ b/sys_linux.c
21@@ -465,14 +465,14 @@ SYS_Linux_EnableSystemCallFilter(int lev 30@@ -482,14 +482,14 @@ SYS_Linux_EnableSystemCallFilter(int level)
22 const int syscalls[] = { 31 const int syscalls[] = {
23 /* Clock */ 32 /* Clock */
24 SCMP_SYS(adjtimex), SCMP_SYS(clock_gettime), SCMP_SYS(gettimeofday), 33 SCMP_SYS(adjtimex), SCMP_SYS(clock_gettime), SCMP_SYS(gettimeofday),
@@ -36,8 +45,8 @@
36 SCMP_SYS(mprotect), SCMP_SYS(mremap), SCMP_SYS(munmap), SCMP_SYS(shmdt), 45 SCMP_SYS(mprotect), SCMP_SYS(mremap), SCMP_SYS(munmap), SCMP_SYS(shmdt),
37 /* Filesystem */ 46 /* Filesystem */
38 SCMP_SYS(access), SCMP_SYS(chmod), SCMP_SYS(chown), SCMP_SYS(chown32), 47 SCMP_SYS(access), SCMP_SYS(chmod), SCMP_SYS(chown), SCMP_SYS(chown32),
39@@ -483,14 +483,21 @@ 48@@ -500,14 +500,21 @@ SYS_Linux_EnableSystemCallFilter(int level)
40 SCMP_SYS(bind), SCMP_SYS(connect), SCMP_SYS(getsockname), 49 SCMP_SYS(bind), SCMP_SYS(connect), SCMP_SYS(getsockname), SCMP_SYS(getsockopt),
41 SCMP_SYS(recvfrom), SCMP_SYS(recvmmsg), SCMP_SYS(recvmsg), 50 SCMP_SYS(recvfrom), SCMP_SYS(recvmmsg), SCMP_SYS(recvmsg),
42 SCMP_SYS(sendmmsg), SCMP_SYS(sendmsg), SCMP_SYS(sendto), 51 SCMP_SYS(sendmmsg), SCMP_SYS(sendmsg), SCMP_SYS(sendto),
43- /* TODO: check socketcall arguments */ 52- /* TODO: check socketcall arguments */
diff --git a/meta-networking/recipes-support/chrony/chrony_3.2.bb b/meta-networking/recipes-support/chrony/chrony_3.3.bb
index 8b90a354e..2586370fa 100644
--- a/meta-networking/recipes-support/chrony/chrony_3.2.bb
+++ b/meta-networking/recipes-support/chrony/chrony_3.3.bb
@@ -35,8 +35,8 @@ SRC_URI = "https://download.tuxfamily.org/chrony/chrony-${PV}.tar.gz \
35 file://chronyd \ 35 file://chronyd \
36 file://arm_eabi.patch \ 36 file://arm_eabi.patch \
37" 37"
38SRC_URI[md5sum] = "f4c4eb0dc92f35ee4bb7d3dcd8029ecb" 38SRC_URI[md5sum] = "81ab62cf5d60b4b3fa8cd2c1b267ffd9"
39SRC_URI[sha256sum] = "329f6718dd8c3ece3eee78be1f4821cbbeb62608e7d23f25da293cfa433c4116" 39SRC_URI[sha256sum] = "0d1fb2d5875032f2d5a86f3770374c87ee4c941916f64171e81f7684f2a73128"
40 40
41DEPENDS = "pps-tools" 41DEPENDS = "pps-tools"
42 42