The following patches are in upstream now 0100-netdev-linux-Use-unsigned-int-for-ifi_flags.patch 0103-ovs-ctl-fix-setting-hostname.patch 0106-ovs-save-compatible-with-busybox-ip-command.patch 0107-datapath-use-KARCH-when-building-linux-datapath-modu.patch As for 0001-musl-compatibility.patch, the net/if_packet.h part does not apply anymore. And musl is not relevant as we use libatomic from gcc Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
28 lines
963 B
Diff
28 lines
963 B
Diff
From b476094a64213da20f88976d7562cb4e8d9f2101 Mon Sep 17 00:00:00 2001
|
|
From: Yousong Zhou <yszhou4tech@gmail.com>
|
|
Date: Wed, 14 Mar 2018 16:44:13 +0800
|
|
Subject: [PATCH 3/4] ovs-lib: fix install_dir()
|
|
|
|
The command "install" is not available in OpenWrt by default
|
|
|
|
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|
---
|
|
utilities/ovs-lib.in | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/utilities/ovs-lib.in b/utilities/ovs-lib.in
|
|
index 9a0af2e82..68ab3f250 100644
|
|
--- a/utilities/ovs-lib.in
|
|
+++ b/utilities/ovs-lib.in
|
|
@@ -159,7 +159,10 @@ install_dir () {
|
|
[ "${OVS_USER##*:}" != "" ] && INSTALL_GROUP="${OVS_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
|
|
}
|