diff options
Diffstat (limited to 'debian/autobake-deb.sh')
-rwxr-xr-x | debian/autobake-deb.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/debian/autobake-deb.sh b/debian/autobake-deb.sh index bad6e6eecf0..a7e8151b163 100755 --- a/debian/autobake-deb.sh +++ b/debian/autobake-deb.sh @@ -17,6 +17,7 @@ set -e export DEB_BUILD_OPTIONS="nocheck $DEB_BUILD_OPTIONS" source ./VERSION + # General CI optimizations to keep build output smaller if [[ $GITLAB_CI ]] then @@ -34,7 +35,7 @@ then then cp -v storage/columnstore/columnstore/debian/mariadb-plugin-columnstore.* debian/ echo >> debian/control - cat storage/columnstore/columnstore/debian/control >> debian/control + sed "s/10.6/${MYSQL_VERSION_MAJOR}.${MYSQL_VERSION_MINOR}/" <storage/columnstore/columnstore/debian/control >> debian/control fi fi @@ -67,6 +68,12 @@ disable_pmem() sed '/-DWITH_PMEM=YES/d' -i debian/rules } +disable_libfmt() +{ + # 0.7+ required + sed '/libfmt-dev/d' -i debian/control +} + architecture=$(dpkg-architecture -q DEB_BUILD_ARCH) # Parse release name and number from Linux standard base release @@ -98,6 +105,7 @@ case "${LSBNAME}" in # Debian buster) + disable_libfmt replace_uring_with_aio if [ ! "$architecture" = amd64 ] then @@ -127,6 +135,7 @@ in ;& focal) replace_uring_with_aio + disable_libfmt ;& impish|jammy|kinetic) # mariadb-plugin-rocksdb s390x not supported by us (yet) |