diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2020-10-20 13:28:47 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-10-19 22:30:51 -0700 |
commit | 7a0d9990a6dfeb5f1141d96c5e1b74977136cec7 (patch) | |
tree | 3d6994392753a760b906916ef2bfa004fb062e75 /meta-networking/recipes-support/open-isns | |
parent | 77c02587fe6d0e51bbf71130a6bb2e20351b75ff (diff) | |
download | meta-openembedded-7a0d9990a6dfeb5f1141d96c5e1b74977136cec7.tar.gz |
open-isns: use /run instead of /var/run in systemd service file
/var/run has been deprecated by systemd, so use /run instead,
as suggested by systemd.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/open-isns')
-rw-r--r-- | meta-networking/recipes-support/open-isns/files/0001-isnsd.socket-use-run-instead-of-var-run.patch | 26 | ||||
-rw-r--r-- | meta-networking/recipes-support/open-isns/open-isns_0.99.bb | 4 |
2 files changed, 29 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/open-isns/files/0001-isnsd.socket-use-run-instead-of-var-run.patch b/meta-networking/recipes-support/open-isns/files/0001-isnsd.socket-use-run-instead-of-var-run.patch new file mode 100644 index 000000000..1dde1cae8 --- /dev/null +++ b/meta-networking/recipes-support/open-isns/files/0001-isnsd.socket-use-run-instead-of-var-run.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 9413921d5af5e5e38541f97fee0f1aa40024a3ed Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Tue, 20 Oct 2020 13:21:57 +0800 | ||
4 | Subject: [PATCH] isnsd.socket: use /run instead of /var/run | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
9 | --- | ||
10 | isnsd.socket | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/isnsd.socket b/isnsd.socket | ||
14 | index 652cd46..7dfcf51 100644 | ||
15 | --- a/isnsd.socket | ||
16 | +++ b/isnsd.socket | ||
17 | @@ -1,5 +1,5 @@ | ||
18 | [Socket] | ||
19 | -ListenStream=/var/run/isnsctl | ||
20 | +ListenStream=/run/isnsctl | ||
21 | PassCredentials=true | ||
22 | |||
23 | [Socket] | ||
24 | -- | ||
25 | 2.17.1 | ||
26 | |||
diff --git a/meta-networking/recipes-support/open-isns/open-isns_0.99.bb b/meta-networking/recipes-support/open-isns/open-isns_0.99.bb index a03b92f5f..eb04dfae3 100644 --- a/meta-networking/recipes-support/open-isns/open-isns_0.99.bb +++ b/meta-networking/recipes-support/open-isns/open-isns_0.99.bb | |||
@@ -13,7 +13,9 @@ SECTION = "net" | |||
13 | 13 | ||
14 | DEPENDS = "openssl" | 14 | DEPENDS = "openssl" |
15 | 15 | ||
16 | SRC_URI = "git://github.com/open-iscsi/open-isns" | 16 | SRC_URI = "git://github.com/open-iscsi/open-isns \ |
17 | file://0001-isnsd.socket-use-run-instead-of-var-run.patch \ | ||
18 | " | ||
17 | 19 | ||
18 | SRCREV = "cfdbcff867ee580a71bc9c18c3a38a6057df0150" | 20 | SRCREV = "cfdbcff867ee580a71bc9c18c3a38a6057df0150" |
19 | 21 | ||