mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-16187 Ubuntu Bionic MariaDB has epoch version that makes 10.1 and 10.2 installs fail
backport cb21e117ba
from 10.2
This commit is contained in:
parent
c69357d8d4
commit
93ab0effd3
1 changed files with 5 additions and 2 deletions
7
debian/autobake-deb.sh
vendored
7
debian/autobake-deb.sh
vendored
|
@ -57,9 +57,12 @@ sed -i -e "s/\\\${LIBSSL}/${LIBSSL}/g" debian/control
|
|||
#
|
||||
echo "Incrementing changelog and starting build scripts"
|
||||
|
||||
dch -b -D ${CODENAME} -v "${UPSTREAM}${PATCHLEVEL}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}}1~${CODENAME}" "Automatic build with ${LOGSTRING}."
|
||||
if [[ "$CODENAME" == bionic ]]; then
|
||||
EPOCH="1:"
|
||||
fi
|
||||
dch -b -D ${CODENAME} -v "${EPOCH}${UPSTREAM}${PATCHLEVEL}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}}1~${CODENAME}" "Automatic build with ${LOGSTRING}."
|
||||
|
||||
echo "Creating package version ${UPSTREAM}${PATCHLEVEL}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}}1~${CODENAME} ... "
|
||||
echo "Creating package version ${EPOCH}${UPSTREAM}${PATCHLEVEL}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}}1~${CODENAME} ... "
|
||||
|
||||
# Build the package.
|
||||
# Pass -I so that .git and other unnecessary temporary and source control files
|
||||
|
|
Loading…
Add table
Reference in a new issue