Merge lp:~akopytov/percona-xtrabackup/bug1269694-2.2 into lp:percona-xtrabackup/2.2

Proposed by Alexey Kopytov
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 4927
Proposed branch: lp:~akopytov/percona-xtrabackup/bug1269694-2.2
Merge into: lp:percona-xtrabackup/2.2
Diff against target: 78 lines (+13/-50)
1 file modified
storage/innobase/xtrabackup/test/bootstrap.sh (+13/-50)
To merge this branch: bzr merge lp:~akopytov/percona-xtrabackup/bug1269694-2.2
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+201915@code.launchpad.net

Description of the change

Null merge from 2.1 with the exception of cleanups in bootstrap.sh.

http://jenkins.percona.com/view/PXB%202.2/job/percona-xtrabackup-2.2-param/90/

To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'storage/innobase/xtrabackup/test/bootstrap.sh'
2--- storage/innobase/xtrabackup/test/bootstrap.sh 2013-11-12 08:56:58 +0000
3+++ storage/innobase/xtrabackup/test/bootstrap.sh 2014-01-16 12:17:06 +0000
4@@ -98,12 +98,6 @@
5 fi
6 ;;
7
8- galera55)
9- url="http://www.percona.com/downloads/Percona-XtraDB-Cluster/5.5.24-23.6/binary/linux/$arch"
10- tarball="Percona-XtraDB-Cluster-5.5.24-23.6.342.Linux.$arch.tar.gz"
11- #galera=1
12- ;;
13-
14 mariadb51)
15 url="http://s3.amazonaws.com/percona.com/downloads/community"
16 tarball="mariadb-5.1.67-Linux-$arch.tar.gz"
17@@ -152,48 +146,17 @@
18 fi
19 mkdir "$destdir"
20
21-if test ! $galera
22-then
23- if test -n "$url"
24- then
25- echo "Downloading $tarball"
26- wget -qc "$url/$tarball"
27- fi
28-
29- echo "Unpacking $tarball into $destdir"
30- tar zxf $tarball -C $destdir
31- sourcedir="$destdir/`ls $destdir`"
32- if test -n "$sourcedir"
33- then
34- mv $sourcedir/* $destdir
35- rm -rf $sourcedir
36- fi
37-else
38- if test ! -d galerabuild
39- then
40- bzr init-repo galerabuild
41- fi
42- cd galerabuild
43-
44- rm -rf percona-xtradb-cluster
45- bzr branch lp:percona-xtradb-cluster percona-xtradb-cluster
46- rm -rf galera2x
47- bzr branch lp:galera/2.x galera2x
48- cd percona-xtradb-cluster
49- cmake -DENABLE_DTRACE=0 -DWITH_WSREP:BOOL="1" -DCMAKE_INSTALL_PREFIX="../../server"
50-
51- if test -f /proc/cpuinfo
52- then
53- MAKE_J=`grep '^processor' /proc/cpuinfo | wc -l`
54- else
55- MAKE_J=4
56- fi
57-
58- make -j$MAKE_J
59- make install
60-
61- cd ../galera2x
62- ./scripts/build.sh
63- cp libgalera_smm.so ../../server/
64- cd ..
65+if test -n "$url"
66+then
67+ echo "Downloading $tarball"
68+ wget -qc "$url/$tarball"
69+fi
70+
71+echo "Unpacking $tarball into $destdir"
72+tar zxf $tarball -C $destdir
73+sourcedir="$destdir/`ls $destdir`"
74+if test -n "$sourcedir"
75+then
76+ mv $sourcedir/* $destdir
77+ rm -rf $sourcedir
78 fi

Subscribers

People subscribed via source and target branches

to all changes: