mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-16187 Ubuntu Bionic MariaDB has epoch version that makes 10.1 and 10.2 installs fail
This commit is contained in:
parent
ebc24950e6
commit
cb21e117ba
1 changed files with 5 additions and 2 deletions
7
debian/autobake-deb.sh
vendored
7
debian/autobake-deb.sh
vendored
|
@ -99,10 +99,13 @@ UPSTREAM="${MYSQL_VERSION_MAJOR}.${MYSQL_VERSION_MINOR}.${MYSQL_VERSION_PATCH}${
|
|||
PATCHLEVEL="+maria"
|
||||
LOGSTRING="MariaDB build"
|
||||
CODENAME="$(lsb_release -sc)"
|
||||
if [[ "$CODENAME" == bionic ]]; then
|
||||
EPOCH="1:"
|
||||
fi
|
||||
|
||||
dch -b -D ${CODENAME} -v "${UPSTREAM}${PATCHLEVEL}~${CODENAME}" "Automatic build with ${LOGSTRING}."
|
||||
dch -b -D ${CODENAME} -v "${EPOCH}${UPSTREAM}${PATCHLEVEL}~${CODENAME}" "Automatic build with ${LOGSTRING}."
|
||||
|
||||
echo "Creating package version ${UPSTREAM}${PATCHLEVEL}~${CODENAME} ... "
|
||||
echo "Creating package version ${EPOCH}${UPSTREAM}${PATCHLEVEL}~${CODENAME} ... "
|
||||
|
||||
# Build the package
|
||||
# Pass -I so that .git and other unnecessary temporary and source control files
|
||||
|
|
Loading…
Reference in a new issue