Commit 708a8c48 authored by Thomas Goirand's avatar Thomas Goirand

Merge branch 'debian/newton' into debian/pike

parents 0e6a4346 77eddb2e
migrate (0.11.0-1) UNRELEASED; urgency=medium
[ Thomas Goirand ]
* Correctly cleans .testrepository.
* Ignore egg-info changes.
[ Daniel Baumann ]
* Updating vcs fields.
* Updating copyright format url.
......@@ -11,9 +7,36 @@ migrate (0.11.0-1) UNRELEASED; urgency=medium
[ Thomas Goirand ]
* New upstream release.
* Fixed (build-)depends for this release.
* Correctly cleans .testrepository.
* Ignore egg-info changes.
-- Thomas Goirand <zigo@debian.org> Fri, 04 Aug 2017 20:25:27 +0000
migrate (0.10.0-7) unstable; urgency=medium
* Team upload.
* Bumped debhelper compat version to 10
* Rebuilt with new python-sqlalchemy
-- Ondřej Nový <onovy@debian.org> Mon, 28 Nov 2016 12:13:03 +0100
migrate (0.10.0-6) unstable; urgency=medium
* Using the correct options for mysql_install_db so that it continues to work
with MySQL 5.7.x (Closes: #841591).
* Build-Depends on default-mysql-client and default-mysql-server instead of
mysql-client & mysql-server (the later is kept as an alternative).
-- Thomas Goirand <zigo@debian.org> Fri, 21 Oct 2016 09:33:40 +0200
migrate (0.10.0-5) unstable; urgency=medium
[ Ondřej Nový ]
* d/s/options: extend-diff-ignore of .gitreview
* d/control: Using OpenStack's Gerrit as VCS URLs.
-- Thomas Goirand <zigo@debian.org> Tue, 31 May 2016 14:17:32 +0200
migrate (0.10.0-4) unstable; urgency=medium
* Fixed VCS URLs (https).
......
......@@ -4,7 +4,7 @@ Priority: optional
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Uploaders: Thomas Goirand <zigo@debian.org>,
Jan Dittberner <jandd@debian.org>,
Build-Depends: debhelper (>= 9),
Build-Depends: debhelper (>= 10),
dh-python,
openstack-pkg-tools,
python-all,
......@@ -14,8 +14,8 @@ Build-Depends: debhelper (>= 9),
python3-all,
python3-pbr,
python3-setuptools,
Build-Depends-Indep: mysql-client,
mysql-server,
Build-Depends-Indep: default-mysql-client | mysql-client,
default-mysql-server | mysql-server,
python-coverage,
python-decorator,
python-feedparser,
......
extend-diff-ignore = "^[^/]*[.]egg-info/"
extend-diff-ignore = "^[.]gitreview$"
#!/bin/sh
set -e
set -x
MYTEMP_DIR=`mktemp -d`
ME=`whoami`
MYSQL_VERSION=`/usr/sbin/mysqld --version 2>/dev/null | grep Ver | awk '{print $3}' | cut -d- -f1`
MYSQL_VERSION_MAJ=`echo $MYSQL_VERSION | cut -d. -f1`
MYSQL_VERSION_MID=`echo $MYSQL_VERSION | cut -d. -f2`
MYSQL_VERSION_MIN=`echo $MYSQL_VERSION | cut -d. -f3`
if [ "${MYSQL_VERSION_MAJ}" -le 5 ] && [ "${MYSQL_VERSION_MID}" -lt 7 ] ; then
MYSQL_INSTALL_DB_OPT="--force --skip-name-resolve"
else
MYSQL_INSTALL_DB_OPT="--basedir=/usr"
fi
# --force is needed because buildd's can't resolve their own hostnames to ips
echo "===> Preparing MySQL temp folder"
mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} --force --skip-name-resolve --user=${ME}
mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} ${MYSQL_INSTALL_DB_OPT} --user=${ME}
chown -R ${ME} ${MYTEMP_DIR}
echo "===> Starting MySQL"
/usr/sbin/mysqld --no-defaults --skip-grant-tables --user=${ME} --socket=${MYTEMP_DIR}/mysql.sock --datadir=${MYTEMP_DIR} --skip-networking &
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment