mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
ovn: initial version 20.03.0
Compared to original packaging scheme within openvswitch, we removed ovn-trace, ovn-detrace from openvswitch-ovn-common package. ovn-detrace requires python libs to run, so it does not actually work out of box in previous builds anyway. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
From d048a1e98363197c0d2609f6adb6919bde473df4 Mon Sep 17 00:00:00 2001
|
||||
From: Yousong Zhou <yszhou4tech@gmail.com>
|
||||
Date: Mon, 23 Mar 2020 14:18:30 +0800
|
||||
Subject: [PATCH] build: skip building tests
|
||||
|
||||
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
||||
---
|
||||
Makefile.am | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 04400e184..b2c42d84c 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -492,7 +492,6 @@ include Documentation/automake.mk
|
||||
include m4/automake.mk
|
||||
include lib/automake.mk
|
||||
include utilities/automake.mk
|
||||
-include tests/automake.mk
|
||||
include include/automake.mk
|
||||
include third-party/automake.mk
|
||||
include debian/automake.mk
|
||||
@@ -0,0 +1,28 @@
|
||||
From ecf232bf32dd433642bb9da2ac0c2de483b8736a Mon Sep 17 00:00:00 2001
|
||||
From: Yousong Zhou <yszhou4tech@gmail.com>
|
||||
Date: Mon, 23 Mar 2020 15:54:26 +0800
|
||||
Subject: [PATCH] ovn-lib: fix install_dir()
|
||||
|
||||
The command "install" is not available in OpenWrt by default
|
||||
|
||||
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
||||
---
|
||||
utilities/ovn-lib.in | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/utilities/ovn-lib.in b/utilities/ovn-lib.in
|
||||
index af1b72edb..f6ab5581c 100644
|
||||
--- a/utilities/ovn-lib.in
|
||||
+++ b/utilities/ovn-lib.in
|
||||
@@ -54,7 +54,10 @@ ovn_install_dir () {
|
||||
[ "${OVN_USER##*:}" != "" ] && INSTALL_GROUP="${OVN_USER##*:}"
|
||||
|
||||
if test ! -d "$DIR"; then
|
||||
- install -d -m "$INSTALL_MODE" -o "$INSTALL_USER" -g "$INSTALL_GROUP" "$DIR"
|
||||
+ mkdir -p "$DIR"
|
||||
+ chmod "$INSTALL_MODE" "$DIR"
|
||||
+ chown "$INSTALL_USER" "$DIR"
|
||||
+ chgrp "$INSTALL_GROUP" "$DIR"
|
||||
restorecon "$DIR" >/dev/null 2>&1
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user