summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-dbs/influxdb/influxdb/0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch20
-rw-r--r--meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb2
2 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/influxdb/influxdb/0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch b/meta-oe/recipes-dbs/influxdb/influxdb/0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch
new file mode 100644
index 0000000000..3cb2090d19
--- /dev/null
+++ b/meta-oe/recipes-dbs/influxdb/influxdb/0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch
@@ -0,0 +1,20 @@
1From f3713628fac72e45223013dcf8e37ac65d17d886 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 11 Jan 2021 15:16:57 -0800
4Subject: [PATCH] patch term module for mips ispeed/ospeed termios absense
5
6Upstream-Status: OE-Specific [needed on mips]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 go.mod | 2 ++
11 1 file changed, 2 insertions(+)
12
13--- a/go.mod
14+++ b/go.mod
15@@ -54,3 +54,5 @@ require (
16 gonum.org/v1/gonum v0.6.0 // indirect
17 google.golang.org/grpc v1.26.0
18 )
19+
20+replace github.com/pkg/term => github.com/kraj/term v0.0.0-20210111231523-7c42fcb0e627
diff --git a/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb b/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb
index 4f2bb78b23..06f7947642 100644
--- a/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb
+++ b/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb
@@ -22,6 +22,8 @@ SRC_URI = "\
22 file://influxdb.conf \ 22 file://influxdb.conf \
23" 23"
24 24
25SRC_URI_append_mipsarch = " file://0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch;patchdir=src/${GO_IMPORT}"
26
25SRCREV = "c958f436b2e538a88a7815aad721c7774a0b8f63" 27SRCREV = "c958f436b2e538a88a7815aad721c7774a0b8f63"
26 28
27inherit go-mod systemd update-rc.d useradd 29inherit go-mod systemd update-rc.d useradd