diff options
-rw-r--r-- | recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch | 12 | ||||
-rw-r--r-- | recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-5563e309b80bbea9bff538e71ecfd7e5e538bab9.patch (renamed from recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-7e614671cba3c4e338d1c5003b74a10047d7a8eb.patch) | 12 | ||||
-rw-r--r-- | recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch | 8 | ||||
-rw-r--r-- | recipes-networking/openvswitch/openvswitch_git.bb | 8 |
4 files changed, 20 insertions, 20 deletions
diff --git a/recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch b/recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch index 540bda6d..64e0e3f4 100644 --- a/recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch +++ b/recipes-networking/openvswitch/files/python-switch-remaining-scripts-to-use-python3.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 39d1af836d844c89e625cfc908545e93977af8be Mon Sep 17 00:00:00 2001 | 1 | From 098d3927e928362f0ac60ea97e9c39b73871be21 Mon Sep 17 00:00:00 2001 |
2 | From: Mark Asselstine <mark.asselstine@windriver.com> | 2 | From: Mark Asselstine <mark.asselstine@windriver.com> |
3 | Date: Wed, 3 May 2017 10:39:12 -0400 | 3 | Date: Wed, 3 May 2017 10:39:12 -0400 |
4 | Subject: [PATCH] python: switch remaining scripts to use python3 | 4 | Subject: [PATCH] python: switch remaining scripts to use python3 |
@@ -39,15 +39,15 @@ index d7854a1..f09defb 100755 | |||
39 | # | 39 | # |
40 | # Licensed under the Apache License, Version 2.0 (the "License"); | 40 | # Licensed under the Apache License, Version 2.0 (the "License"); |
41 | diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py | 41 | diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py |
42 | index 26eb5c3..2e1932b 100755 | 42 | index f929714..e17a1cf 100755 |
43 | --- a/utilities/checkpatch.py | 43 | --- a/utilities/checkpatch.py |
44 | +++ b/utilities/checkpatch.py | 44 | +++ b/utilities/checkpatch.py |
45 | @@ -1,4 +1,4 @@ | 45 | @@ -1,4 +1,4 @@ |
46 | -#!/usr/bin/env python | 46 | -#!/usr/bin/env python |
47 | +#!/usr/bin/env python3 | 47 | +#!/usr/bin/env python3 |
48 | # Copyright (c) 2016, 2017 Red Hat, Inc. | 48 | # Copyright (c) 2016, 2017 Red Hat, Inc. |
49 | # Copyright (c) 2018 Nicira, Inc. | ||
49 | # | 50 | # |
50 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
51 | diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py | 51 | diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py |
52 | index 9ce0f04..839e13e 100755 | 52 | index 9ce0f04..839e13e 100755 |
53 | --- a/utilities/ovs-dev.py | 53 | --- a/utilities/ovs-dev.py |
@@ -59,7 +59,7 @@ index 9ce0f04..839e13e 100755 | |||
59 | # | 59 | # |
60 | # Licensed under the Apache License, Version 2.0 (the "License"); | 60 | # Licensed under the Apache License, Version 2.0 (the "License"); |
61 | diff --git a/utilities/ovs-pipegen.py b/utilities/ovs-pipegen.py | 61 | diff --git a/utilities/ovs-pipegen.py b/utilities/ovs-pipegen.py |
62 | index 4bf240f..2a8f13e 100755 | 62 | index ee57972..e9b99f5 100755 |
63 | --- a/utilities/ovs-pipegen.py | 63 | --- a/utilities/ovs-pipegen.py |
64 | +++ b/utilities/ovs-pipegen.py | 64 | +++ b/utilities/ovs-pipegen.py |
65 | @@ -1,4 +1,4 @@ | 65 | @@ -1,4 +1,4 @@ |
@@ -79,7 +79,7 @@ index e7404e3..5edad76 100755 | |||
79 | # xapi plugin script to update the cache of configuration items in the | 79 | # xapi plugin script to update the cache of configuration items in the |
80 | # ovs-vswitchd configuration that are managed in the xapi database when | 80 | # ovs-vswitchd configuration that are managed in the xapi database when |
81 | diff --git a/xenserver/opt_xensource_libexec_interface-reconfigure b/xenserver/opt_xensource_libexec_interface-reconfigure | 81 | diff --git a/xenserver/opt_xensource_libexec_interface-reconfigure b/xenserver/opt_xensource_libexec_interface-reconfigure |
82 | index ea4a742..c6745ee 100755 | 82 | index a82043f..9c20725 100755 |
83 | --- a/xenserver/opt_xensource_libexec_interface-reconfigure | 83 | --- a/xenserver/opt_xensource_libexec_interface-reconfigure |
84 | +++ b/xenserver/opt_xensource_libexec_interface-reconfigure | 84 | +++ b/xenserver/opt_xensource_libexec_interface-reconfigure |
85 | @@ -1,4 +1,4 @@ | 85 | @@ -1,4 +1,4 @@ |
@@ -89,7 +89,7 @@ index ea4a742..c6745ee 100755 | |||
89 | # Copyright (c) 2008,2009 Citrix Systems, Inc. | 89 | # Copyright (c) 2008,2009 Citrix Systems, Inc. |
90 | # | 90 | # |
91 | diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 91 | diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync |
92 | index a776c00..d5ff8af 100755 | 92 | index ecd6f6d..b8f2a42 100755 |
93 | --- a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 93 | --- a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync |
94 | +++ b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 94 | +++ b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync |
95 | @@ -1,4 +1,4 @@ | 95 | @@ -1,4 +1,4 @@ |
diff --git a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-7e614671cba3c4e338d1c5003b74a10047d7a8eb.patch b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-5563e309b80bbea9bff538e71ecfd7e5e538bab9.patch index 5b53f969..a8fc86c9 100644 --- a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-7e614671cba3c4e338d1c5003b74a10047d7a8eb.patch +++ b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-5563e309b80bbea9bff538e71ecfd7e5e538bab9.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From fb68120ef8aed625b04b2fbd2cb78fc59a7b7432 Mon Sep 17 00:00:00 2001 | 1 | From 37df262d2b0f0b8c177aa850623f2c5880484ff0 Mon Sep 17 00:00:00 2001 |
2 | From: He Zhe <zhe.he@windriver.com> | 2 | From: He Zhe <zhe.he@windriver.com> |
3 | Date: Wed, 30 Mar 2016 06:23:45 -0400 | 3 | Date: Wed, 30 Mar 2016 06:23:45 -0400 |
4 | Subject: [PATCH] openvswitch: Add test-install rule to support ptest execution | 4 | Subject: [PATCH] openvswitch: Add test-install rule to support ptest execution |
@@ -15,22 +15,22 @@ Signed-off-by: He Zhe <zhe.he@windriver.com> | |||
15 | 15 | ||
16 | --- | 16 | --- |
17 | Makefile.am | 1 + | 17 | Makefile.am | 1 + |
18 | test.mk | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 18 | test.mk | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
19 | 2 files changed, 73 insertions(+) | 19 | 2 files changed, 75 insertions(+) |
20 | create mode 100644 test.mk | 20 | create mode 100644 test.mk |
21 | 21 | ||
22 | diff --git a/Makefile.am b/Makefile.am | 22 | diff --git a/Makefile.am b/Makefile.am |
23 | index ea63acb..ff7d70a 100644 | 23 | index 7889728..6435399 100644 |
24 | --- a/Makefile.am | 24 | --- a/Makefile.am |
25 | +++ b/Makefile.am | 25 | +++ b/Makefile.am |
26 | @@ -429,3 +429,4 @@ include windows/automake.mk | 26 | @@ -494,3 +494,4 @@ include windows/automake.mk |
27 | include ovn/automake.mk | 27 | include ovn/automake.mk |
28 | include selinux/automake.mk | 28 | include selinux/automake.mk |
29 | include build-aux/automake.mk | 29 | include build-aux/automake.mk |
30 | +include test.mk | 30 | +include test.mk |
31 | diff --git a/test.mk b/test.mk | 31 | diff --git a/test.mk b/test.mk |
32 | new file mode 100644 | 32 | new file mode 100644 |
33 | index 0000000..b10a581 | 33 | index 0000000..0b4587c |
34 | --- /dev/null | 34 | --- /dev/null |
35 | +++ b/test.mk | 35 | +++ b/test.mk |
36 | @@ -0,0 +1,74 @@ | 36 | @@ -0,0 +1,74 @@ |
diff --git a/recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch b/recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch index 9a792e63..ec1c1110 100644 --- a/recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch +++ b/recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f45c0a9d712113417e7b56c199f8576b470695ae Mon Sep 17 00:00:00 2001 | 1 | From 3dbfcb0fa944b57215fab46fe484b02e69ff6e03 Mon Sep 17 00:00:00 2001 |
2 | From: Mark Asselstine <mark.asselstine@windriver.com> | 2 | From: Mark Asselstine <mark.asselstine@windriver.com> |
3 | Date: Tue, 29 May 2018 18:57:46 +0000 | 3 | Date: Tue, 29 May 2018 18:57:46 +0000 |
4 | Subject: [PATCH] systemd: update tool paths | 4 | Subject: [PATCH] systemd: update tool paths |
@@ -28,15 +28,15 @@ index 11b34c6..94c48f8 100644 | |||
28 | ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \ | 28 | ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \ |
29 | --no-ovsdb-server --no-monitor --system-id=random \ | 29 | --no-ovsdb-server --no-monitor --system-id=random \ |
30 | diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service b/rhel/usr_lib_systemd_system_ovsdb-server.service | 30 | diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service b/rhel/usr_lib_systemd_system_ovsdb-server.service |
31 | index 0fa57a9..75c9e02 100644 | 31 | index 70da1ec..c2c862f 100644 |
32 | --- a/rhel/usr_lib_systemd_system_ovsdb-server.service | 32 | --- a/rhel/usr_lib_systemd_system_ovsdb-server.service |
33 | +++ b/rhel/usr_lib_systemd_system_ovsdb-server.service | 33 | +++ b/rhel/usr_lib_systemd_system_ovsdb-server.service |
34 | @@ -10,7 +10,7 @@ Type=forking | 34 | @@ -10,7 +10,7 @@ Type=forking |
35 | Restart=on-failure | 35 | Restart=on-failure |
36 | EnvironmentFile=/etc/openvswitch/default.conf | 36 | EnvironmentFile=/etc/openvswitch/default.conf |
37 | EnvironmentFile=-/etc/sysconfig/openvswitch | 37 | EnvironmentFile=-/etc/sysconfig/openvswitch |
38 | -ExecStartPre=/usr/bin/chown ${OVS_USER_ID} /var/run/openvswitch | 38 | -ExecStartPre=/usr/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch |
39 | +ExecStartPre=/bin/chown ${OVS_USER_ID} /var/run/openvswitch | 39 | +ExecStartPre=/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch |
40 | ExecStartPre=/bin/sh -c 'rm -f /run/openvswitch/useropts; if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /usr/bin/echo "OVSUSER=--ovs-user=${OVS_USER_ID}" > /run/openvswitch/useropts; fi' | 40 | ExecStartPre=/bin/sh -c 'rm -f /run/openvswitch/useropts; if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /usr/bin/echo "OVSUSER=--ovs-user=${OVS_USER_ID}" > /run/openvswitch/useropts; fi' |
41 | EnvironmentFile=-/run/openvswitch/useropts | 41 | EnvironmentFile=-/run/openvswitch/useropts |
42 | ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \ | 42 | ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \ |
diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb index 9cdd4842..edffdcef 100644 --- a/recipes-networking/openvswitch/openvswitch_git.bb +++ b/recipes-networking/openvswitch/openvswitch_git.bb | |||
@@ -12,16 +12,16 @@ RDEPENDS_${PN}-ptest += "\ | |||
12 | " | 12 | " |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
15 | PV = "2.9.2+${SRCREV}" | 15 | PV = "2.10.0+${SRCREV}" |
16 | 16 | ||
17 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}-git:" | 17 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}-git:" |
18 | 18 | ||
19 | SRCREV = "7e614671cba3c4e338d1c5003b74a10047d7a8eb" | 19 | SRCREV = "5563e309b80bbea9bff538e71ecfd7e5e538bab9" |
20 | SRC_URI = "file://openvswitch-switch \ | 20 | SRC_URI = "file://openvswitch-switch \ |
21 | file://openvswitch-switch-setup \ | 21 | file://openvswitch-switch-setup \ |
22 | file://openvswitch-testcontroller \ | 22 | file://openvswitch-testcontroller \ |
23 | file://openvswitch-testcontroller-setup \ | 23 | file://openvswitch-testcontroller-setup \ |
24 | git://github.com/openvswitch/ovs.git;protocol=git;branch=branch-2.9 \ | 24 | git://github.com/openvswitch/ovs.git;protocol=git;branch=branch-2.10 \ |
25 | file://openvswitch-add-ptest-${SRCREV}.patch \ | 25 | file://openvswitch-add-ptest-${SRCREV}.patch \ |
26 | file://run-ptest \ | 26 | file://run-ptest \ |
27 | file://disable_m4_check.patch \ | 27 | file://disable_m4_check.patch \ |
@@ -32,7 +32,7 @@ SRC_URI = "file://openvswitch-switch \ | |||
32 | file://systemd-update-tool-paths.patch \ | 32 | file://systemd-update-tool-paths.patch \ |
33 | " | 33 | " |
34 | 34 | ||
35 | LIC_FILES_CHKSUM = "file://COPYING;md5=17b2c9d4c70853a09c0e143137754b35" | 35 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" |
36 | 36 | ||
37 | DPDK_INSTALL_DIR ?= "/opt/dpdk" | 37 | DPDK_INSTALL_DIR ?= "/opt/dpdk" |
38 | 38 | ||