summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/ntp/ntp/reproducibility-fixed-path-to-posix-shell.patch15
-rw-r--r--meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb1
2 files changed, 16 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp/reproducibility-fixed-path-to-posix-shell.patch b/meta-networking/recipes-support/ntp/ntp/reproducibility-fixed-path-to-posix-shell.patch
new file mode 100644
index 000000000..571db75f7
--- /dev/null
+++ b/meta-networking/recipes-support/ntp/ntp/reproducibility-fixed-path-to-posix-shell.patch
@@ -0,0 +1,15 @@
1--- ntp-4.2.8p12.original/sntp/libopts/m4/libopts.m4 2018-11-12 17:54:57.747220846 +1300
2+++ ntp-4.2.8p12/sntp/libopts/m4/libopts.m4 2018-11-12 18:00:50.626211641 +1300
3@@ -114,12 +114,6 @@
4 AC_PROG_SED
5 [while :
6 do
7- POSIX_SHELL=`which bash`
8- test -x "$POSIX_SHELL" && break
9- POSIX_SHELL=`which dash`
10- test -x "$POSIX_SHELL" && break
11- POSIX_SHELL=/usr/xpg4/bin/sh
12- test -x "$POSIX_SHELL" && break
13 POSIX_SHELL=`/bin/sh -c '
14 exec 2>/dev/null
15 if ! true ; then exit 1 ; fi
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb
index 536679f4d..53e41297a 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb
@@ -12,6 +12,7 @@ DEPENDS = "libevent"
12 12
13SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \ 13SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.gz \
14 file://ntp-4.2.4_p6-nano.patch \ 14 file://ntp-4.2.4_p6-nano.patch \
15 file://reproducibility-fixed-path-to-posix-shell.patch \
15 file://reproducibility-respect-source-date-epoch.patch \ 16 file://reproducibility-respect-source-date-epoch.patch \
16 file://ntpd \ 17 file://ntpd \
17 file://ntp.conf \ 18 file://ntp.conf \