diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2020-02-12 12:51:44 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-02-13 17:21:44 -0500 |
commit | 0ab14d82b1b1aec59dc6c7f180f2688ccee1459e (patch) | |
tree | a36a213e8c95252598721b227ab408766743c87a /recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch | |
parent | b8c810c6083311593b0432ede69cefeb4226cdf6 (diff) | |
download | meta-virtualization-0ab14d82b1b1aec59dc6c7f180f2688ccee1459e.tar.gz |
openvswitch: uprev from v2.11 to v2.12
A mostly straightforward uprev. Unfortunately a required patch for
python3 is only available on a non-release branch so we must carry it
in order to build (the discussion on the mailing list was that an
uprev might have avoided this, but this is not the case).
The ptest results are similar to after the v2.11 uprev
ERROR: 2413 tests were run,
23 failed unexpectedly.
383 tests were skipped.
NOTE, however, that they have now marked many tests as 'skipped', such
as the python2 results, so the failed and skipped numbers have
essentially swapped with each other. The failed tests were in the
following areas:
checkpatch.at (5)
ovs-ofctl.at (1)
dpif-netdev.at (1)
ofproto-dpif.at (6)
bridge.at (2)
ovn.at (2)
ovn-controller-vtep.at (6)
Most were issues with the test or expectations that source code would
be available. There might be an issue around packaging of
"/vswitchd/vswitch.ovsschema" but we should be able to overlook this
for now, as we have with previous versions.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch')
-rw-r--r-- | recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch b/recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch index 65290cf6..0438cf88 100644 --- a/recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch +++ b/recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 219e7cf9f28fdf14747fdf674bec293f763fe8e3 Mon Sep 17 00:00:00 2001 | 1 | From 6876e0c155b7f83e1f8545446e2dd69c2b7989f2 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, 4 Sep 2018 15:38:59 -0400 | 3 | Date: Tue, 4 Sep 2018 15:38:59 -0400 |
4 | Subject: [PATCH] systemd: create runtime dirs | 4 | Subject: [PATCH] systemd: create runtime dirs |
@@ -15,17 +15,17 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | |||
15 | 1 file changed, 1 insertion(+) | 15 | 1 file changed, 1 insertion(+) |
16 | 16 | ||
17 | diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service b/rhel/usr_lib_systemd_system_ovsdb-server.service | 17 | diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service b/rhel/usr_lib_systemd_system_ovsdb-server.service |
18 | index 694598f..0bb2274 100644 | 18 | index aad557f..69b0bf6 100644 |
19 | --- a/rhel/usr_lib_systemd_system_ovsdb-server.service | 19 | --- a/rhel/usr_lib_systemd_system_ovsdb-server.service |
20 | +++ b/rhel/usr_lib_systemd_system_ovsdb-server.service | 20 | +++ b/rhel/usr_lib_systemd_system_ovsdb-server.service |
21 | @@ -10,6 +10,7 @@ Type=forking | 21 | @@ -11,6 +11,7 @@ PIDFile=/var/run/openvswitch/ovsdb-server.pid |
22 | Restart=on-failure | 22 | Restart=on-failure |
23 | EnvironmentFile=/etc/openvswitch/default.conf | 23 | EnvironmentFile=/etc/openvswitch/default.conf |
24 | EnvironmentFile=-/etc/sysconfig/openvswitch | 24 | EnvironmentFile=-/etc/sysconfig/openvswitch |
25 | +ExecStartPre=-/bin/mkdir /var/run/openvswitch /var/log/openvswitch | 25 | +ExecStartPre=-/bin/mkdir /var/run/openvswitch /var/log/openvswitch |
26 | ExecStartPre=/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch | 26 | ExecStartPre=-/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch |
27 | ExecStartPre=/bin/sh -c 'rm -f /run/openvswitch/useropts; if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVSUSER=--ovs-user=${OVS_USER_ID}" > /run/openvswitch/useropts; fi' | 27 | ExecStartPre=/bin/sh -c 'rm -f /run/openvswitch.useropts; /bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts' |
28 | EnvironmentFile=-/run/openvswitch/useropts | 28 | ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi' |
29 | -- | 29 | -- |
30 | 2.7.4 | 30 | 2.7.4 |
31 | 31 | ||