summaryrefslogtreecommitdiffstats
path: root/system/drbd-utils/drbd-utils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/drbd-utils/drbd-utils.SlackBuild')
-rw-r--r--system/drbd-utils/drbd-utils.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/drbd-utils/drbd-utils.SlackBuild b/system/drbd-utils/drbd-utils.SlackBuild
index 7596695cbd..f5a3364b8d 100644
--- a/system/drbd-utils/drbd-utils.SlackBuild
+++ b/system/drbd-utils/drbd-utils.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for drbd-utils
-# Copyright 2014 Mario Preksavec, Zagreb, HR
+# Copyright 2014, 2015 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=drbd-utils
VERSION=${VERSION:-8.9.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# This patch allows resources with path: drbd:/dev/drbd/by-res/<resource>
+# Xen HVM domains will be able to live migrate with qemu-xen-traditional
+patch -p1 <$CWD/patches/xen_handle_physical_device_paths.diff
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \