aboutsummaryrefslogtreecommitdiff
path: root/system/drbd-utils/drbd-utils.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-02-25 12:08:00 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-28 11:37:12 +0700
commit581a45f2a538110086a7d467d3e53a2a504e2aa4 (patch)
treef165ee8e811b192559b9f21bda0d7455a9639b0c /system/drbd-utils/drbd-utils.SlackBuild
parentb56f2ce98f4d3d161da182a82d644a172fb7a7ba (diff)
system/drbd-utils: Fix for Xen physical device paths.
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 7596695cbdab..f5a3364b8dc1 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 \