summaryrefslogtreecommitdiff
path: root/network/openvswitch/openvswitch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/openvswitch/openvswitch.SlackBuild')
-rw-r--r--network/openvswitch/openvswitch.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/openvswitch/openvswitch.SlackBuild b/network/openvswitch/openvswitch.SlackBuild
index 61f8d33bf8..18229adba0 100644
--- a/network/openvswitch/openvswitch.SlackBuild
+++ b/network/openvswitch/openvswitch.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=openvswitch
VERSION=${VERSION:-2.3.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -103,7 +103,7 @@ if [ ! -f /lib/modules/$(uname -r)/kernel/net/openvswitch/openvswitch.ko ]; then
$PKG/lib/modules/${KERNEL}/kernel/extra/openvswitch
fi
-mkdir -p $PKG/etc/openvswitch $PKG/etc/rc.d $PKG/var/run/openvswitch
+mkdir -p $PKG/var/lib/openvswitch $PKG/etc/rc.d $PKG/var/run/openvswitch
sed -e "s,@DOCDIR@,/usr/doc/$PRGNAM-$VERSION,g" $CWD/rc.openvswitch \
> $PKG/etc/rc.d/rc.openvswitch.new
chmod 0755 $PKG/etc/rc.d/rc.openvswitch.new